CraigRoberts15 commited on
Commit
c138810
·
1 Parent(s): 86e3ca6

Fix Gradio version compatibility for Hugging Face

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. requirements.txt +2 -3
app.py CHANGED
@@ -1374,6 +1374,7 @@ if __name__ == "__main__":
1374
  # Create and launch dashboard
1375
  demo = create_dashboard()
1376
  demo.launch(
1377
- share=False,
 
1378
  show_error=True
1379
  )
 
1374
  # Create and launch dashboard
1375
  demo = create_dashboard()
1376
  demo.launch(
1377
+ server_name="0.0.0.0",
1378
+ server_port=7860,
1379
  show_error=True
1380
  )
requirements.txt CHANGED
@@ -1,8 +1,7 @@
1
- gradio==4.44.1
2
  pandas
3
  numpy
4
  matplotlib
5
  seaborn
6
  plotly
7
- openpyxl
8
- huggingface-hub<0.23.0
 
1
+ gradio==4.16.0
2
  pandas
3
  numpy
4
  matplotlib
5
  seaborn
6
  plotly
7
+ openpyxl