pachet commited on
Commit
b02fc0d
·
1 Parent(s): 29529d7

added the style fix to the js

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,8 +52,8 @@ function sendMIDI() {
52
  with gr.Blocks() as demo:
53
  gr.HTML(midi_js)
54
 
55
- # ✅ Mount Gradio on `/` but **keep API routes separate**
56
- app.mount("/", gr.mount_gradio_app(app, demo))
57
 
58
  # ✅ Debug: Print all registered FastAPI routes
59
  print("🚀 FastAPI Routes Registered:")
 
52
  with gr.Blocks() as demo:
53
  gr.HTML(midi_js)
54
 
55
+ # ✅ Mount Gradio at `/`
56
+ app = gr.mount_gradio_app(app, demo, path="/")
57
 
58
  # ✅ Debug: Print all registered FastAPI routes
59
  print("🚀 FastAPI Routes Registered:")