yuhe6 commited on
Commit
01bed2f
·
1 Parent(s): 147ccfa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def inference(input_image):
54
  return result
55
 
56
  inputs = gr.inputs.Image(type='pil')
57
- outputs = gr.outputs.Label(type="confidences",num_top_classes=1)
58
 
59
  title = "GHOSTNET"
60
  description = "Gradio demo for GHOSTNET, Efficient networks by generating more features from cheap operations. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
 
54
  return result
55
 
56
  inputs = gr.inputs.Image(type='pil')
57
+ outputs = gr.outputs.Label(type="confidences",num_top_classes=2)
58
 
59
  title = "GHOSTNET"
60
  description = "Gradio demo for GHOSTNET, Efficient networks by generating more features from cheap operations. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."