zainali95 commited on
Commit
28d13bb
·
1 Parent(s): 040dada
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -14,13 +14,10 @@ def predict(img):
14
  title = "Bear Detector"
15
  description = "A Bear classifier trained on the Duck Duck go data with fastai. Created as a demo for Gradio and HuggingFace Spaces."
16
  examples = ['grizzly.jpg','teddy.jpg','black.jpg']
17
- interpretation='default'
18
- enable_queue=True
19
 
20
  gr.Interface(fn=predict,
21
  inputs=gr.Image(height=512, width=512),
22
  outputs=gr.Label(num_top_classes=3),
23
  title=title,
24
  description=description,
25
- examples=examples,
26
- enable_queue=enable_queue).launch()
 
14
  title = "Bear Detector"
15
  description = "A Bear classifier trained on the Duck Duck go data with fastai. Created as a demo for Gradio and HuggingFace Spaces."
16
  examples = ['grizzly.jpg','teddy.jpg','black.jpg']
 
 
17
 
18
  gr.Interface(fn=predict,
19
  inputs=gr.Image(height=512, width=512),
20
  outputs=gr.Label(num_top_classes=3),
21
  title=title,
22
  description=description,
23
+ examples=examples).launch()