Spaces:
Runtime error
Runtime error
Commit ·
564eb61
1
Parent(s): 51b7a9f
updating gradio syntax to reflect latest version
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -15,4 +15,4 @@ examples = ['fundus_photo.jpeg']
|
|
| 15 |
interpretation='default'
|
| 16 |
enable_queue=True
|
| 17 |
|
| 18 |
-
gr.Interface(fn=predict,inputs=gr.
|
|
|
|
| 15 |
interpretation='default'
|
| 16 |
enable_queue=True
|
| 17 |
|
| 18 |
+
gr.Interface(fn=predict,inputs=gr.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
|
requirements.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
fastai
|
| 2 |
-
gradio
|
|
|
|
| 1 |
fastai
|
| 2 |
+
gradio
|