Spaces:
Sleeping
Sleeping
Commit
·
82b651f
1
Parent(s):
981946b
added change
Browse files
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 =
|
| 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:
|