fomext commited on
Commit
7aa73ae
·
verified ·
1 Parent(s): 137b458

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -245,13 +245,13 @@ Point **Paperclip** at `https://<your-space>.hf.space` with model `{MODEL_ALIAS}
245
  | POST | `/v1/chat/completions` | Chat (streaming & non-streaming) |
246
  | GET | `/health` | Health check |
247
 
248
- You can also chat directly below.
249
  """)
250
  # This ChatInterface wires `gradio_chat` into Gradio's event system,
251
  # which is what ZeroGPU's startup scanner requires.
252
  gr.ChatInterface(fn=gradio_chat)
253
 
254
- app = gr.mount_gradio_app(app, demo, path="/gradio")
255
 
256
  # ---------------------------------------------------------------------------
257
  # Entry-point
 
245
  | POST | `/v1/chat/completions` | Chat (streaming & non-streaming) |
246
  | GET | `/health` | Health check |
247
 
248
+ Chat UI is served at the root path below; API routes remain available alongside it.
249
  """)
250
  # This ChatInterface wires `gradio_chat` into Gradio's event system,
251
  # which is what ZeroGPU's startup scanner requires.
252
  gr.ChatInterface(fn=gradio_chat)
253
 
254
+ app = gr.mount_gradio_app(app, demo, path="/")
255
 
256
  # ---------------------------------------------------------------------------
257
  # Entry-point