Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -354,4 +354,5 @@ with gr.Blocks() as demo:
|
|
| 354 |
run_btn.click(fn=run_and_submit_all, outputs=[status_box, table])
|
| 355 |
|
| 356 |
if __name__ == "__main__":
|
| 357 |
-
|
|
|
|
|
|
| 354 |
run_btn.click(fn=run_and_submit_all, outputs=[status_box, table])
|
| 355 |
|
| 356 |
if __name__ == "__main__":
|
| 357 |
+
# 在無法直接訪問 localhost 的環境,用 share=True
|
| 358 |
+
demo.launch(server_name="0.0.0.0", server_port=7860, debug=True, share=True)
|