Sean Hamill commited on
Commit
68c20de
·
1 Parent(s): 14b60e8
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def pdf_to_text(file_obj, progress=gr.Progress()):
59
  with open("data/text.txt", "w") as f:
60
  f.write(str(result.content))
61
  f.close()
62
- create_index()
63
  progress(1.0, desc="Done!")
64
  time.sleep(1.5)
65
  return str(result.content), gr.update(visible=True), gr.update(visible=False)
 
59
  with open("data/text.txt", "w") as f:
60
  f.write(str(result.content))
61
  f.close()
62
+ # create_index()
63
  progress(1.0, desc="Done!")
64
  time.sleep(1.5)
65
  return str(result.content), gr.update(visible=True), gr.update(visible=False)