Spaces:
Runtime error
Runtime error
fix bug
Browse files
utils.py
CHANGED
@@ -132,6 +132,6 @@ def read_text_from_file(file):
|
|
132 |
file.type
|
133 |
== "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
134 |
):
|
135 |
-
file_content = docx2txt(file)
|
136 |
|
137 |
return file_content
|
|
|
132 |
file.type
|
133 |
== "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
134 |
):
|
135 |
+
file_content = docx2txt.process(file)
|
136 |
|
137 |
return file_content
|