Diego Carpintero commited on
Commit
4bd8e36
·
1 Parent(s): 1edf77b

resize inputs

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def predict(img):
17
 
18
  demo = gr.Interface(
19
  fn=predict,
20
- inputs="image",
21
  outputs="image",
22
  examples=examples,
23
  title=title,
 
17
 
18
  demo = gr.Interface(
19
  fn=predict,
20
+ inputs=gr.inputs.Image(shape=(512, 512)),
21
  outputs="image",
22
  examples=examples,
23
  title=title,