Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,6 @@ examples = ['image1.jpg', 'image2.jpg']
|
|
14 |
interpretation='default'
|
15 |
enable_queue=True
|
16 |
|
17 |
-
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
|
18 |
-
|
19 |
|
|
|
14 |
interpretation='default'
|
15 |
enable_queue=True
|
16 |
|
17 |
+
#gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
|
18 |
+
gr.Interface(fn=predict,inputs=gr.components.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
|
19 |
|