Update app.py
Browse files
app.py
CHANGED
|
@@ -28,4 +28,4 @@ iface = gr.Interface(
|
|
| 28 |
).queue() # <— this turns on the /run/predict REST API
|
| 29 |
|
| 30 |
if __name__ == "__main__":
|
| 31 |
-
iface.launch(server_name="0.0.0.0", server_port=int(os.environ.get("PORT", 7860)))
|
|
|
|
| 28 |
).queue() # <— this turns on the /run/predict REST API
|
| 29 |
|
| 30 |
if __name__ == "__main__":
|
| 31 |
+
iface.launch(server_name="0.0.0.0", share=True, server_port=int(os.environ.get("PORT", 7860)))
|