Spaces:
Runtime error
Runtime error
Commit
·
fe1d000
1
Parent(s):
9b0c00b
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ interpretation='default'
|
|
20 |
enable_queue=True
|
21 |
|
22 |
gr.Interface(fn=predict,
|
23 |
-
inputs=gr.
|
24 |
outputs=gr.outputs.Label(num_top_classes=2),
|
25 |
title=title,
|
26 |
description=description,
|
|
|
20 |
enable_queue=True
|
21 |
|
22 |
gr.Interface(fn=predict,
|
23 |
+
inputs=gr.Interface.Inputs.Image(shape=(512, 512)),
|
24 |
outputs=gr.outputs.Label(num_top_classes=2),
|
25 |
title=title,
|
26 |
description=description,
|