Spaces:
Sleeping
Sleeping
Commit
•
36095ad
1
Parent(s):
f4ccf2f
Update app.py
Browse filesTrying image = gr.Image(height=192, width=192)
WHY WHY did they change API????? Not nice!
app.py
CHANGED
@@ -28,7 +28,7 @@ def classify_image(img):
|
|
28 |
# without needing to down gradio
|
29 |
|
30 |
#image = gr.inputs.Image(shape=(192, 192)) # OLD
|
31 |
-
image = gr.Image(
|
32 |
# label = gr.outputs.Label() # OLD
|
33 |
label = gr.Label()
|
34 |
examples = ['basset.jpg']
|
|
|
28 |
# without needing to down gradio
|
29 |
|
30 |
#image = gr.inputs.Image(shape=(192, 192)) # OLD
|
31 |
+
image = gr.Image(height=192, width=192)
|
32 |
# label = gr.outputs.Label() # OLD
|
33 |
label = gr.Label()
|
34 |
examples = ['basset.jpg']
|