applemuncy commited on
Commit
b6d2317
Β·
verified Β·
1 Parent(s): 357bf7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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:7860webhook")
524
- app = gr.mount_gradio_app(app, gradio_app, path="/gradio")
525
- # uvicorn.run("app:app", host="0.0.0.0", port=7860, reload=True)
 
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)