Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,8 +49,7 @@ iface = gr.Interface(
|
|
| 49 |
)
|
| 50 |
|
| 51 |
# Mount Gradio app to FastAPI
|
| 52 |
-
app = gr.mount_gradio_app(app, iface, path="/")
|
| 53 |
-
|
| 54 |
-
# For local testing
|
| 55 |
if __name__ == "__main__":
|
| 56 |
-
|
|
|
|
|
|
| 49 |
)
|
| 50 |
|
| 51 |
# Mount Gradio app to FastAPI
|
| 52 |
+
#app = gr.mount_gradio_app(app, iface, path="/")
|
|
|
|
|
|
|
| 53 |
if __name__ == "__main__":
|
| 54 |
+
import uvicorn
|
| 55 |
+
uvicorn.run(app, host="0.0.0.0", port=7860)
|