Commit
·
0a345cb
1
Parent(s):
7a2b44c
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,10 +6,10 @@ def echo_image(image):
|
|
| 6 |
demo = gr.Interface(
|
| 7 |
fn=echo_image,
|
| 8 |
inputs=[
|
| 9 |
-
gr.components.Image(
|
| 10 |
],
|
| 11 |
outputs=[
|
| 12 |
-
gr.components.Image(
|
| 13 |
],
|
| 14 |
)
|
| 15 |
|
|
|
|
| 6 |
demo = gr.Interface(
|
| 7 |
fn=echo_image,
|
| 8 |
inputs=[
|
| 9 |
+
gr.components.Image(shape=(512, 512)),
|
| 10 |
],
|
| 11 |
outputs=[
|
| 12 |
+
gr.components.Image(shape=(512, 512), label="output-1")
|
| 13 |
],
|
| 14 |
)
|
| 15 |
|