Spaces:
Runtime error
Runtime error
Vivien Chappelier
commited on
Commit
Β·
b5b40ac
1
Parent(s):
ef9ae2b
let's keep Image for now
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ def interface():
|
|
121 |
with gr.Row():
|
122 |
btn1 = gr.Button("Generate")
|
123 |
with gr.Row():
|
124 |
-
watermarked_image = gr.
|
125 |
with gr.Column():
|
126 |
downscale = gr.Slider(1, 3, value=1, step=0.1, label="Downscale ratio")
|
127 |
saturation = gr.Slider(0, 2, value=1, step=0.1, label="Color saturation")
|
|
|
121 |
with gr.Row():
|
122 |
btn1 = gr.Button("Generate")
|
123 |
with gr.Row():
|
124 |
+
watermarked_image = gr.Image(type="pil", width=512, height=512)
|
125 |
with gr.Column():
|
126 |
downscale = gr.Slider(1, 3, value=1, step=0.1, label="Downscale ratio")
|
127 |
saturation = gr.Slider(0, 2, value=1, step=0.1, label="Color saturation")
|