Commit
•
d9ae386
1
Parent(s):
eb9b478
Update app.py
Browse files
app.py
CHANGED
@@ -281,7 +281,7 @@ with gr.Blocks(css=css) as demo:
|
|
281 |
|
282 |
with gr.Tab("Image to image"):
|
283 |
with gr.Group():
|
284 |
-
image = gr.Image(label="Image", height=256,
|
285 |
strength = gr.Slider(label="Transformation strength", minimum=0, maximum=1, step=0.01, value=0.5)
|
286 |
|
287 |
inputs = [prompt, guidance, steps, image_size, seed, image, strength, neg_prompt, cool_japan_type, disable_auto_prompt_correction]
|
|
|
281 |
|
282 |
with gr.Tab("Image to image"):
|
283 |
with gr.Group():
|
284 |
+
image = gr.Image(label="Image", height=256, sources="upload", type="pil")
|
285 |
strength = gr.Slider(label="Transformation strength", minimum=0, maximum=1, step=0.01, value=0.5)
|
286 |
|
287 |
inputs = [prompt, guidance, steps, image_size, seed, image, strength, neg_prompt, cool_japan_type, disable_auto_prompt_correction]
|