tomaseo2022 commited on
Commit
26dc8e1
1 Parent(s): 99d5a49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,5 +9,5 @@ def sepia(input_img):
9
  sepia_img /= sepia_img.max()
10
  return sepia_img
11
 
12
- iface = gr.Interface(sepia, gr.components.Image(shape=(200, 200)), "image", css=".footer{display:none !important}")
13
- iface.launch()
 
9
  sepia_img /= sepia_img.max()
10
  return sepia_img
11
 
12
+ iface = gr.Interface(sepia, gr.inputs.Image(image_mode="RGB"), "image", css=".footer{display:none !important}")
13
+ iface.launch()