bryceschultz commited on
Commit
184a154
·
1 Parent(s): aa75b86

updating gradio syntax to reflect latest version

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -12,6 +12,5 @@ def predict(img):
12
  title = "Fundus Photo Classifier"
13
  description = "A fundus photo classifier trained with fastai. Created as a demo for Gradio and HuggingFace Spaces."
14
  examples = ['fundus_photo.jpeg']
15
- enable_queue=True
16
 
17
- gr.Interface(fn=predict,inputs=gr.Image(),outputs=gr.Label(num_top_classes=3),title=title,description=description,examples=examples,enable_queue=enable_queue).launch()
 
12
  title = "Fundus Photo Classifier"
13
  description = "A fundus photo classifier trained with fastai. Created as a demo for Gradio and HuggingFace Spaces."
14
  examples = ['fundus_photo.jpeg']
 
15
 
16
+ gr.Interface(fn=predict,inputs=gr.Image(),outputs=gr.Label(num_top_classes=3),title=title,description=description,examples=examples).launch()