ShubhamSetia commited on
Commit
32dbfd6
·
1 Parent(s): e2ed7eb

downgrade gradle version

Browse files
Files changed (2) hide show
  1. app.py +1 -7
  2. requirements.txt +1 -1
app.py CHANGED
@@ -254,11 +254,5 @@ with gr.Blocks(css=custom_css) as app:
254
  app.load(fn=calculate_time_remaining, outputs=countdown_display)
255
 
256
  # Launch configuration for Hugging Face Spaces
257
- if __name__ == "__main__":
258
- app.launch(
259
- server_name="0.0.0.0",
260
- server_port=7860,
261
- share=False,
262
- auth=("prasuk", "prasuk")
263
- )
264
  # app.launch()
 
254
  app.load(fn=calculate_time_remaining, outputs=countdown_display)
255
 
256
  # Launch configuration for Hugging Face Spaces
257
+ app.launch(ssr_mode=True,share=False,auth=("prasuk", "prasuk"))
 
 
 
 
 
 
258
  # app.launch()
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- gradio
2
  pillow
3
  python-dateutil
4
  types-python-dateutil
 
1
+ gradio==5.23.0
2
  pillow
3
  python-dateutil
4
  types-python-dateutil