Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def classify_image(image):
|
|
10 |
return result[0]['label'] # Return the label of the top prediction
|
11 |
|
12 |
# Create a Gradio interface
|
13 |
-
iface = gr.Interface(fn=classify_image, inputs="image", outputs="
|
14 |
|
15 |
# Launch the Gradio interface
|
16 |
iface.launch()
|
|
|
10 |
return result[0]['label'] # Return the label of the top prediction
|
11 |
|
12 |
# Create a Gradio interface
|
13 |
+
iface = gr.Interface(fn=classify_image, inputs="image", outputs="label")
|
14 |
|
15 |
# Launch the Gradio interface
|
16 |
iface.launch()
|