osbornep8 commited on
Commit
7e470cf
·
1 Parent(s): 1680975

rm interface params

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -15,10 +15,9 @@ def classify_image(img):
15
  image = gr.components.Image(type="pil", height=224, width=224)
16
  label = gr.components.Label(num_top_classes=3)
17
  examples = ['cat.jpg', 'dog.jpg', 'dunno.jpg']
18
- interpretation='default'
19
- enable_queue=True
20
 
21
 
22
 
23
- iface = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples,interpretation=interpretation, enable_queue=enable_queue)
 
24
  iface.launch(inline=False)
 
15
  image = gr.components.Image(type="pil", height=224, width=224)
16
  label = gr.components.Label(num_top_classes=3)
17
  examples = ['cat.jpg', 'dog.jpg', 'dunno.jpg']
 
 
18
 
19
 
20
 
21
+
22
+ iface = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
23
  iface.launch(inline=False)