Update app.py
Browse files
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(
|
56 |
outputs=[
|
57 |
-
gr.components.Image(
|
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!"
|