Mishmosh commited on
Commit
821f795
1 Parent(s): 3cea84f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="text")
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()