jflo commited on
Commit
218f80f
1 Parent(s): fe2c6a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,9 +52,9 @@ def filter_img(input_img,filter_type):
52
  return filtered_img
53
 
54
  demo = gr.Interface(filter_img,
55
- inputs = [ gr.inputs.Image(shape=(1024,1024)),gr.inputs.Dropdown(["Gray","B&W","Sharp","Gray-sharp","Vintage","Magenta","Yellow","Cyan","Blue","Green","Red"])],
56
  outputs=[
57
- gr.components.Image(shape=(1024, 1024), label="output-1")
58
  ],
59
  title = "Image Filterz",
60
  description="Cool image filters!"
 
52
  return filtered_img
53
 
54
  demo = gr.Interface(filter_img,
55
+ inputs = [ gr.inputs.Image(),gr.inputs.Dropdown(["Gray","B&W","Sharp","Gray-sharp","Vintage","Magenta","Yellow","Cyan","Blue","Green","Red"])],
56
  outputs=[
57
+ gr.components.Image(), label="output-1")
58
  ],
59
  title = "Image Filterz",
60
  description="Cool image filters!"