Spaces:
Runtime error
Runtime error
error fix
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def sepia(input_img):
|
|
118 |
return fig
|
119 |
|
120 |
demo = gr.Interface(fn=sepia,
|
121 |
-
inputs=gr.Image(shape=(
|
122 |
outputs=['plot'],
|
123 |
examples=["sidewalk-1.jpg", "sidewalk-2.jpg", "sidewalk-3.jpg", "sidewalk-4.jpg", "sidewalk-5.jpg", "sidewalk-6.jpg"],
|
124 |
allow_flagging='never',
|
|
|
118 |
return fig
|
119 |
|
120 |
demo = gr.Interface(fn=sepia,
|
121 |
+
inputs=gr.Image(shape=(1000, 800)),
|
122 |
outputs=['plot'],
|
123 |
examples=["sidewalk-1.jpg", "sidewalk-2.jpg", "sidewalk-3.jpg", "sidewalk-4.jpg", "sidewalk-5.jpg", "sidewalk-6.jpg"],
|
124 |
allow_flagging='never',
|