dawood HF Staff commited on
Commit
3fb8935
·
1 Parent(s): 3e7d3e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ def classify_image(inp):
17
  return {labels[i]: float(prediction[i]) for i in range(1000)}
18
 
19
 
20
- image = gr.inputs.Image(shape=(224, 224))
21
- label = gr.outputs.Label(num_top_classes=3)
22
 
23
  title="Gradio Image Classifiction + interpretation Example"
24
  gr.Interface(
 
17
  return {labels[i]: float(prediction[i]) for i in range(1000)}
18
 
19
 
20
+ image = gr.Image(shape=(224, 224))
21
+ label = gr.Label(num_top_classes=3)
22
 
23
  title="Gradio Image Classifiction + interpretation Example"
24
  gr.Interface(