Turkeyengineer commited on
Commit
dc80fb1
·
verified ·
1 Parent(s): 5c9e304

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,4 +12,4 @@ demo = gr.Interface(
12
  # 移除 api_name,使用 Gradio 預設 endpoint
13
  )
14
 
15
- demo.launch()
 
12
  # 移除 api_name,使用 Gradio 預設 endpoint
13
  )
14
 
15
+ demo.launch(api_name="run_predict")