choephix commited on
Commit
67ce2d9
·
1 Parent(s): 69a3974

fix Gradio 6 launch argument regression

Browse files

Remove the unsupported show_api launch argument so the Space can boot on the upgraded Gradio runtime while keeping the named predict API endpoint in place.

Made-with: Cursor

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -400,4 +400,4 @@ with gr.Blocks(title="Orient-Anything-V2 Demo") as demo:
400
  queue=False,
401
  )
402
 
403
- demo.launch(show_api=False)
 
400
  queue=False,
401
  )
402
 
403
+ demo.launch()