QuantAdminUser commited on
Commit
82b651f
·
1 Parent(s): 981946b

added change

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def load_runbooks():
32
 
33
  elif file.endswith(".docx"):
34
  # Load .docx files using python-docx
35
- doc = DocxDocument(path)
36
  content = "\n".join([para.text for para in doc.paragraphs])
37
 
38
  else:
 
32
 
33
  elif file.endswith(".docx"):
34
  # Load .docx files using python-docx
35
+ doc = Document(path)
36
  content = "\n".join([para.text for para in doc.paragraphs])
37
 
38
  else: