dmitryakonovalov commited on
Commit
36095ad
1 Parent(s): f4ccf2f

Update app.py

Browse files

Trying image = gr.Image(height=192, width=192)
WHY WHY did they change API????? Not nice!

Files changed (1) hide show
  1. app.py +1 -1
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(shape=(192, 192))
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']