Spaces:
Runtime error
Runtime error
Commit ·
aa75b86
1
Parent(s): bc23259
updating gradio syntax to reflect latest version
Browse files
app.py
CHANGED
|
@@ -12,7 +12,6 @@ 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 |
-
interpretation='default'
|
| 16 |
enable_queue=True
|
| 17 |
|
| 18 |
-
gr.Interface(fn=predict,inputs=gr.Image(),outputs=gr.Label(num_top_classes=3),title=title,description=description,examples=examples,
|
|
|
|
| 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()
|