Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -118,6 +118,7 @@ demo = gr.Interface(
|
|
118 |
app = gr.mount_gradio_app(app, demo, path="/")
|
119 |
|
120 |
# Entry point
|
121 |
-
|
122 |
-
|
123 |
-
|
|
|
|
118 |
app = gr.mount_gradio_app(app, demo, path="/")
|
119 |
|
120 |
# Entry point
|
121 |
+
if __name__ == "__main__":
|
122 |
+
import uvicorn
|
123 |
+
uvicorn.run(app, host="0.0.0.0", port=7860)
|
124 |
+
app
|