Spaces:
Running
Running
修改api名称
Browse files
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='
|
| 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 应用
|