jithenderchoudary commited on
Commit
c979dff
·
verified ·
1 Parent(s): e3ee82d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import re
2
  import pandas as pd
3
- from langchain.document_loaders import PyMuPDFLoader
4
  import gradio as gr
5
  import os
6
 
@@ -68,5 +68,5 @@ interface = gr.Interface(
68
  )
69
 
70
  if __name__ == "__main__":
71
- # Enable queueing and increase timeout if necessary
72
- interface.queue(concurrency_count=1, max_size=10, timeout=300).launch(share=True)
 
1
  import re
2
  import pandas as pd
3
+ from langchain_community.document_loaders import PyMuPDFLoader # Updated import
4
  import gradio as gr
5
  import os
6
 
 
68
  )
69
 
70
  if __name__ == "__main__":
71
+ # Enable queueing and set a shareable link
72
+ interface.queue(max_size=10, timeout=300).launch(share=True)