Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
#
|
| 49 |
-
demo.
|
|
|
|
| 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)
|