Spaces:
Sleeping
Sleeping
isLinXu
commited on
Commit
•
ae54bf6
1
Parent(s):
a04b3a3
update
Browse files
app.py
CHANGED
@@ -309,7 +309,7 @@ score_output = gr.outputs.Textbox(label="Confidence", type="text")
|
|
309 |
|
310 |
# 创建 Gradio 界面
|
311 |
iface = gr.Interface(fn=predict_and_draw, inputs=[image_input, model_input],
|
312 |
-
outputs=[image_output, text_output, score_output], examples=examples
|
313 |
title="Image Classification on timm", description="Upload an image and classify,it.")
|
314 |
|
315 |
# 启动 Gradio 界面
|
|
|
309 |
|
310 |
# 创建 Gradio 界面
|
311 |
iface = gr.Interface(fn=predict_and_draw, inputs=[image_input, model_input],
|
312 |
+
outputs=[image_output, text_output, score_output], examples=examples,
|
313 |
title="Image Classification on timm", description="Upload an image and classify,it.")
|
314 |
|
315 |
# 启动 Gradio 界面
|