Update app.py
Browse files
app.py
CHANGED
|
@@ -114,5 +114,5 @@ with gr.Blocks() as demo:
|
|
| 114 |
# ---------------------------
|
| 115 |
# Launch
|
| 116 |
# ---------------------------
|
| 117 |
-
if
|
| 118 |
-
demo.launch(server_name="0.0.0.0")
|
|
|
|
| 114 |
# ---------------------------
|
| 115 |
# Launch
|
| 116 |
# ---------------------------
|
| 117 |
+
if __name__ == "__main__":
|
| 118 |
+
demo.launch(server_name="0.0.0.0")
|