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