grixelle commited on
Commit
b612fa5
·
verified ·
1 Parent(s): fb3471c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,5 +45,5 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
45
  submit.click(fn=ground_truth_engine, inputs=[p_img, c_img], outputs=output)
46
 
47
  if __name__ == "__main__":
48
- # Standard Docker bindings for Hugging Face Spaces
49
- demo.queue().launch(server_name="0.0.0.0", server_port=7860)
 
45
  submit.click(fn=ground_truth_engine, inputs=[p_img, c_img], outputs=output)
46
 
47
  if __name__ == "__main__":
48
+ # The server_name binding is required for Docker containers on HF
49
+ demo.launch(server_name="0.0.0.0", server_port=7860)