HeTalksInMaths commited on
Commit
e771d04
·
1 Parent(s): 91d8497

Fix Gradio deployment: pin to v4.44.0 and add share=True for HF Spaces

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -691,4 +691,4 @@ with gr.Blocks(title="ToGMAL - Difficulty Analyzer + Chat", css="""
691
  )
692
 
693
  if __name__ == "__main__":
694
- demo.launch()
 
691
  )
692
 
693
  if __name__ == "__main__":
694
+ demo.launch(share=True)
requirements.txt CHANGED
@@ -8,5 +8,5 @@ joblib>=1.3
8
  sentence-transformers>=2.2.0
9
  chromadb>=0.4.0
10
  datasets>=2.14.0
11
- gradio>=4.0.0,<5.0.0
12
  huggingface-hub>=0.19.0
 
8
  sentence-transformers>=2.2.0
9
  chromadb>=0.4.0
10
  datasets>=2.14.0
11
+ gradio==4.44.0
12
  huggingface-hub>=0.19.0