Spaces:
Sleeping
Sleeping
Update app.py
Browse filesRemoved interpretation=interpretation
app.py
CHANGED
|
@@ -21,4 +21,5 @@ enable_queue=True
|
|
| 21 |
|
| 22 |
# fix by removing "outputs." and "inputs."
|
| 23 |
# fix by shape=(512, 512) changed to height=512, width=512 then changed to type="pil"
|
| 24 |
-
|
|
|
|
|
|
| 21 |
|
| 22 |
# fix by removing "outputs." and "inputs."
|
| 23 |
# fix by shape=(512, 512) changed to height=512, width=512 then changed to type="pil"
|
| 24 |
+
# fix: removed interpretation=interpretation
|
| 25 |
+
gr.Interface(fn=predict,inputs=gr.Image(type="pil"),outputs=gr.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,enable_queue=enable_queue).launch()
|