Spaces:
Runtime error
Runtime error
Commit ·
37449c8
1
Parent(s): a0291d0
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,5 +20,8 @@ def imagen(image):
|
|
| 20 |
#cv2.imwrite('candidate.png',candidate)
|
| 21 |
return candidate
|
| 22 |
|
| 23 |
-
interface = gr.Interface(imagen,
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
#cv2.imwrite('candidate.png',candidate)
|
| 21 |
return candidate
|
| 22 |
|
| 23 |
+
interface = gr.Interface(imagen,
|
| 24 |
+
inputs = gr.inputs.Image(shape=(1024,1024)),
|
| 25 |
+
outputs = "image",
|
| 26 |
+
title="Gamify your photo")
|
| 27 |
+
interface.launch(inline=False)
|