Spaces:
Build error
Build error
Commit 路
1d1eedc
1
Parent(s): 87e08ce
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ from gradio import Interface, components
|
|
| 45 |
# 鍒涘缓 Gradio 鐣岄潰
|
| 46 |
iface = Interface(
|
| 47 |
fn=classify_image,
|
| 48 |
-
inputs=components.Image(
|
| 49 |
outputs=[
|
| 50 |
components.Label(num_top_classes=2),
|
| 51 |
components.Textbox(label="鍒嗙被缁撴灉")
|
|
|
|
| 45 |
# 鍒涘缓 Gradio 鐣岄潰
|
| 46 |
iface = Interface(
|
| 47 |
fn=classify_image,
|
| 48 |
+
inputs=components.Image(),
|
| 49 |
outputs=[
|
| 50 |
components.Label(num_top_classes=2),
|
| 51 |
components.Textbox(label="鍒嗙被缁撴灉")
|