Karin0616
commited on
Commit
·
e878db9
1
Parent(s):
43e8458
test
Browse files
app.py
CHANGED
@@ -103,8 +103,9 @@ def sepia(input_img):
|
|
103 |
return fig
|
104 |
|
105 |
demo = gr.Interface(fn=sepia,
|
106 |
-
inputs=gr.Image(shape=(
|
107 |
outputs=['plot'],
|
|
|
108 |
examples=["city1.jpg","city2.jpg","city3.jpg"],
|
109 |
allow_flagging='never')
|
110 |
|
|
|
103 |
return fig
|
104 |
|
105 |
demo = gr.Interface(fn=sepia,
|
106 |
+
inputs=gr.Image(shape=(564,846)),
|
107 |
outputs=['plot'],
|
108 |
+
live=True,
|
109 |
examples=["city1.jpg","city2.jpg","city3.jpg"],
|
110 |
allow_flagging='never')
|
111 |
|