drwlf commited on
Commit
42df2c5
·
1 Parent(s): 4fff637

Fix Gradio compatibility issues: remove share=True and pin compatible version

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -96,4 +96,4 @@ with gr.Blocks(title="PDF Ingestion Tool", theme=gr.themes.Soft()) as demo:
96
  )
97
 
98
  if __name__ == "__main__":
99
- demo.launch(server_name="0.0.0.0", server_port=7860, share=True)
 
96
  )
97
 
98
  if __name__ == "__main__":
99
+ demo.launch(server_name="0.0.0.0", server_port=7860)
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- gradio>=4.0.0
2
  transformers>=4.30.0
3
  torch>=2.0.0
4
  chromadb>=0.4.0
 
1
+ gradio>=4.40.0,<4.50.0
2
  transformers>=4.30.0
3
  torch>=2.0.0
4
  chromadb>=0.4.0