Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,9 @@ def main():
|
|
143 |
with st.spinner("Processing"):
|
144 |
# get pdf text
|
145 |
raw_text = ""
|
|
|
146 |
for file in docs:
|
|
|
147 |
if file.type == 'text/plain':
|
148 |
#file is .txt
|
149 |
raw_text += get_text_file(file)
|
|
|
143 |
with st.spinner("Processing"):
|
144 |
# get pdf text
|
145 |
raw_text = ""
|
146 |
+
|
147 |
for file in docs:
|
148 |
+
print('file - type : ', file.type)
|
149 |
if file.type == 'text/plain':
|
150 |
#file is .txt
|
151 |
raw_text += get_text_file(file)
|