tony346 commited on
Commit
043f2be
1 Parent(s): 585821e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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)