Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ with gr.Blocks(css=css) as demo:
|
|
126 |
|
127 |
with gr.Tab("Image to image"):
|
128 |
with gr.Group():
|
129 |
-
image = gr.Image(label="Image", height=256,
|
130 |
strength = gr.Slider(label="Transformation strength", minimum=0, maximum=1, step=0.01, value=0.5)
|
131 |
|
132 |
inputs = [prompt, guidance, steps, width, height, seed, image, strength, neg_prompt]
|
|
|
126 |
|
127 |
with gr.Tab("Image to image"):
|
128 |
with gr.Group():
|
129 |
+
image = gr.Image(label="Image", height=256, type="pil")
|
130 |
strength = gr.Slider(label="Transformation strength", minimum=0, maximum=1, step=0.01, value=0.5)
|
131 |
|
132 |
inputs = [prompt, guidance, steps, width, height, seed, image, strength, neg_prompt]
|