Spaces:
Sleeping
Sleeping
cagataydag
commited on
Commit
•
9af4fde
1
Parent(s):
0819121
Update utils.py
Browse files
utils.py
CHANGED
@@ -127,7 +127,7 @@ def read_text_from_file(file):
|
|
127 |
elif file.type == "application/pdf":
|
128 |
file_content = read_pdf(file)
|
129 |
|
130 |
-
# read docx file
|
131 |
elif (
|
132 |
file.type
|
133 |
== "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
|
127 |
elif file.type == "application/pdf":
|
128 |
file_content = read_pdf(file)
|
129 |
|
130 |
+
# read docx file
|
131 |
elif (
|
132 |
file.type
|
133 |
== "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|