III111II1I1 commited on
Commit
08ad870
·
verified ·
1 Parent(s): 191fe20

修改api名称

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ with gr.Blocks() as demo:
82
  fn=process_image_and_generate_zip,
83
  inputs=image_input,
84
  outputs=message_output,
85
- api_name='process_image_and_generate_zip'# 如果你想显示处理后的图片,这里可以添加 processed_image_output
86
  )
87
 
88
  # 启动 Gradio 应用
 
82
  fn=process_image_and_generate_zip,
83
  inputs=image_input,
84
  outputs=message_output,
85
+ api_name='detect'
86
  )
87
 
88
  # 启动 Gradio 应用