rahul7star commited on
Commit
8c0b35c
·
verified ·
1 Parent(s): b7f7a21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -22
app.py CHANGED
@@ -50,28 +50,6 @@ def healthz():
50
  return {"ok": True}
51
 
52
 
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
- import gradio as gr
65
-
66
- def create_gradio_ui():
67
- with gr.Blocks() as demo:
68
- gr.Markdown("## ✅ FastAPI + Gradio is running\n\nUse `/train-from-hf` endpoint to start training.\n\nVisit `/docs` for API reference.")
69
- return demo
70
-
71
- # Mount Gradio app at /gradio
72
- app = gr.mount_gradio_app(app, create_gradio_ui(), path="/gradio")
73
-
74
-
75
 
76
  # @app.get("/docs", include_in_schema=False)
77
  # def custom_docs():
 
50
  return {"ok": True}
51
 
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
 
54
  # @app.get("/docs", include_in_schema=False)
55
  # def custom_docs():