Spaces:
Runtime error
Runtime error
Vivien Chappelier
commited on
Commit
Β·
c1568a8
1
Parent(s):
c68dc14
this is now called ImageEditor
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.ImageEditor(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")
|