pka007 commited on
Commit
4afb8bb
·
verified ·
1 Parent(s): d235a46

fixed gradio interface arguments error

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -17,8 +17,6 @@ def predict(img):
17
  title = "Flower Classifier"
18
  description = "A flower classifier trained on the images downloaded from the internet."
19
  examples = ['sunflower.jpg','marigold.jpg']
20
- interpretation='default'
21
- enable_queue=True
22
 
23
- intf = gr.Interface(fn=predict,inputs=gr.Image(type="pil"),outputs=gr.Label(),title=title,description=description,examples=examples,interpretation=interpretation,enable_queue=enable_queue)
24
  intf.launch()
 
17
  title = "Flower Classifier"
18
  description = "A flower classifier trained on the images downloaded from the internet."
19
  examples = ['sunflower.jpg','marigold.jpg']
 
 
20
 
21
+ intf = gr.Interface(fn=predict,inputs=gr.Image(type="pil"),outputs=gr.Label(),title=title,description=description,examples=examples)
22
  intf.launch()