Theivaprakasham commited on
Commit
d94a260
1 Parent(s): 091bb5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,8 +43,8 @@ def inference(im):
43
  d[pred_name] = score
44
  return d
45
 
46
- inputs = gr.inputs.Image(type='pil', label="Original Image")
47
- outputs = gr.outputs.Label(type="confidences",num_top_classes=5)
48
 
49
  title = "Butterfly identification"
50
  description = "Gradio demo for 686 Indian Butterfly Species. To use it, simply upload your image, or click one of the examples to load them."
 
43
  d[pred_name] = score
44
  return d
45
 
46
+ inputs = gr.Image(type='pil', label="Original Image")
47
+ outputs = gr.Label(type="confidences",num_top_classes=5)
48
 
49
  title = "Butterfly identification"
50
  description = "Gradio demo for 686 Indian Butterfly Species. To use it, simply upload your image, or click one of the examples to load them."