Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -514,12 +514,12 @@ def create_gradio_app():
|
|
| 514 |
|
| 515 |
# Mount Gradio app
|
| 516 |
gradio_app = create_gradio_app()
|
| 517 |
-
|
| 518 |
|
| 519 |
|
| 520 |
if __name__ == "__main__":
|
| 521 |
print("π Starting HF Tagging Bot...")
|
| 522 |
print("π Dashboard: http://localhost:7860/gradio")
|
| 523 |
-
print("π Webhook: http://localhost:
|
| 524 |
-
|
| 525 |
-
|
|
|
|
| 514 |
|
| 515 |
# Mount Gradio app
|
| 516 |
gradio_app = create_gradio_app()
|
| 517 |
+
app = gr.mount_gradio_app(app, gradio_app, path="/gradio")
|
| 518 |
|
| 519 |
|
| 520 |
if __name__ == "__main__":
|
| 521 |
print("π Starting HF Tagging Bot...")
|
| 522 |
print("π Dashboard: http://localhost:7860/gradio")
|
| 523 |
+
print("π Webhook: http://localhost:7860/webhook")
|
| 524 |
+
|
| 525 |
+
uvicorn.run("app:app", host="0.0.0.0", port=7860, reload=True)
|