thisisam commited on
Commit
7274fb9
·
1 Parent(s): 3a32d35

new fixes to app and requirements

Browse files
Files changed (2) hide show
  1. app.py +3 -5
  2. requirements.txt +2 -3
app.py CHANGED
@@ -206,8 +206,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
206
  method_btn.click(check_access, outputs=output_status)
207
 
208
  if __name__ == "__main__":
209
- demo.launch(
210
- server_name="0.0.0.0",
211
- server_port=7860,
212
- share=False
213
- )
 
206
  method_btn.click(check_access, outputs=output_status)
207
 
208
  if __name__ == "__main__":
209
+ # On HuggingFace Spaces, we don't need to specify server settings
210
+ # The platform handles this automatically
211
+ demo.launch()
 
 
requirements.txt CHANGED
@@ -1,3 +1,2 @@
1
- gradio==4.43.0
2
- huggingface-hub==0.25.0
3
- datasets==2.19.0
 
1
+ gradio==4.44.1
2
+ huggingface-hub==0.26.2