Spaces:
Runtime error
Runtime error
ruidanwang
commited on
Commit
•
4f83afd
1
Parent(s):
49a95c5
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def classify_image(img):
|
|
21 |
|
22 |
# Create the Gradio interface
|
23 |
image_input = gr.Image()
|
24 |
-
label_output = gr.Label(num_top_classes=
|
25 |
interface = gr.Interface(fn=classify_image, inputs=image_input, outputs=label_output)
|
26 |
|
27 |
# Launch the interface
|
|
|
21 |
|
22 |
# Create the Gradio interface
|
23 |
image_input = gr.Image()
|
24 |
+
label_output = gr.Label(num_top_classes=2)
|
25 |
interface = gr.Interface(fn=classify_image, inputs=image_input, outputs=label_output)
|
26 |
|
27 |
# Launch the interface
|