Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,6 +51,4 @@ app = fastapi.FastAPI()
|
|
| 51 |
app = gr.mount_gradio_app(app, text_api, path="/run/predict_text")
|
| 52 |
app = gr.mount_gradio_app(app, image_api, path="/run/predict_image")
|
| 53 |
|
| 54 |
-
|
| 55 |
-
import uvicorn
|
| 56 |
-
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
|
| 51 |
app = gr.mount_gradio_app(app, text_api, path="/run/predict_text")
|
| 52 |
app = gr.mount_gradio_app(app, image_api, path="/run/predict_image")
|
| 53 |
|
| 54 |
+
demo = text_api
|
|
|
|
|
|