sys2 commited on
Commit
682b62b
1 Parent(s): 51bb4d7

First commit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def sepia(input_img):
102
  return fig
103
 
104
  demo = gr.Interface(fn=sepia,
105
- inputs=gr.File(),
106
  outputs=['plot'],
107
  examples=["city_1.jpg", "city_2.jpeg", "city_3.jpg"],
108
  allow_flagging='never')
 
102
  return fig
103
 
104
  demo = gr.Interface(fn=sepia,
105
+ inputs=gr.Image(shape=(400, 600)),
106
  outputs=['plot'],
107
  examples=["city_1.jpg", "city_2.jpeg", "city_3.jpg"],
108
  allow_flagging='never')