akman12914 commited on
Commit ·
481e106
1
Parent(s): 848cbf7
image size revise
Browse files
app.py
CHANGED
|
@@ -233,7 +233,7 @@ def sepia(input_img):
|
|
| 233 |
return fig
|
| 234 |
|
| 235 |
demo = gr.Interface(fn=sepia,
|
| 236 |
-
inputs=gr.Image(shape=(
|
| 237 |
outputs=['plot'],
|
| 238 |
examples=["image1.jpg", "image2.jpg", "image3.jpg", "image4.jpg"],
|
| 239 |
allow_flagging='never')
|
|
|
|
| 233 |
return fig
|
| 234 |
|
| 235 |
demo = gr.Interface(fn=sepia,
|
| 236 |
+
inputs=gr.Image(shape=(512, 512)),
|
| 237 |
outputs=['plot'],
|
| 238 |
examples=["image1.jpg", "image2.jpg", "image3.jpg", "image4.jpg"],
|
| 239 |
allow_flagging='never')
|