Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def predict(image):
|
|
9 |
|
10 |
gr.Interface(
|
11 |
predict,
|
12 |
-
inputs=gr.inputs.Image(label="
|
13 |
outputs=gr.outputs.Label(num_top_classes=5),
|
14 |
-
title="
|
15 |
).launch()
|
|
|
9 |
|
10 |
gr.Interface(
|
11 |
predict,
|
12 |
+
inputs=gr.inputs.Image(label="上传管道内窥检测图片", type="filepath"),
|
13 |
outputs=gr.outputs.Label(num_top_classes=5),
|
14 |
+
title="内窥检测隐患识别",
|
15 |
).launch()
|