sarthak20P commited on
Commit
f800bb7
·
verified ·
1 Parent(s): c992506

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -73,4 +73,5 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue", neutral_hue="slate")) as
73
  gr.Markdown("### Powered by AMD MI300X\n- **SPINE:** 90.4% F1\n- **BRAIN:** 99.1% F1\n- **Latency:** <25ms on ROCm 7.0")
74
 
75
  # Hugging Face MUST have server_name="0.0.0.0" and server_port=7860
76
- demo.launch(server_name="0.0.0.0", server_port=7860)
 
 
73
  gr.Markdown("### Powered by AMD MI300X\n- **SPINE:** 90.4% F1\n- **BRAIN:** 99.1% F1\n- **Latency:** <25ms on ROCm 7.0")
74
 
75
  # Hugging Face MUST have server_name="0.0.0.0" and server_port=7860
76
+ # Enabling queue() helps Gradio handle the Hugging Face proxy better
77
+ demo.queue().launch()