ChavinloSocialRise
commited on
Commit
•
946bcbb
1
Parent(s):
788ebe0
Update app.py
Browse files
app.py
CHANGED
@@ -42,6 +42,6 @@ def send_req(input_img, compression, noise):
|
|
42 |
|
43 |
return image
|
44 |
|
45 |
-
demo = gr.Interface(send_req, [gr.Image(), gr.
|
46 |
if __name__ == "__main__":
|
47 |
demo.launch()
|
|
|
42 |
|
43 |
return image
|
44 |
|
45 |
+
demo = gr.Interface(send_req, [gr.Image(), gr.Slider(0, 100, label="Compression", step=1), gr.Slider(0, 100, label="Noise", step=1)], "image")
|
46 |
if __name__ == "__main__":
|
47 |
demo.launch()
|