osanseviero HF staff commited on
Commit
ce727a3
1 Parent(s): aa6ecb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -31,10 +31,9 @@ description = "Demo for Google's EfficientNetV2. EfficientNetV2 (accepted at ICM
31
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2104.00298'>EfficientNetV2: Smaller Models and Faster Training</a> | <a href='https://github.com/google/automl/tree/master/efficientnetv2'>Github Repo</a> | <a href='https://ai.googleblog.com/2021/09/toward-fast-and-accurate-neural.html'>Blog Post</a></p>"
32
 
33
  iface = gr.Interface(fn=classify,
34
- inputs=gr.inputs.Image(label="image"),
35
  outputs='text',
36
  title=title,
37
- shape=(224,224),
38
  description=description,
39
  enable_queue=True,
40
  examples=[['panda.jpeg'], ["llamas.jpeg"], ["hot_dog.png"]],
31
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2104.00298'>EfficientNetV2: Smaller Models and Faster Training</a> | <a href='https://github.com/google/automl/tree/master/efficientnetv2'>Github Repo</a> | <a href='https://ai.googleblog.com/2021/09/toward-fast-and-accurate-neural.html'>Blog Post</a></p>"
32
 
33
  iface = gr.Interface(fn=classify,
34
+ inputs=gr.inputs.Image(label="image", shape=(224,224)),
35
  outputs='text',
36
  title=title,
 
37
  description=description,
38
  enable_queue=True,
39
  examples=[['panda.jpeg'], ["llamas.jpeg"], ["hot_dog.png"]],