Spaces:
Sleeping
Sleeping
Diego Carpintero
commited on
Commit
·
4bd8e36
1
Parent(s):
1edf77b
resize inputs
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def predict(img):
|
|
| 17 |
|
| 18 |
demo = gr.Interface(
|
| 19 |
fn=predict,
|
| 20 |
-
inputs=
|
| 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,
|