shibing624 commited on
Commit
41f768c
·
verified ·
1 Parent(s): be50222

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -122,7 +122,7 @@ with gr.Blocks(css=css) as demo:
122
 
123
  with gr.Tab("Image to image"):
124
  with gr.Group():
125
- image = gr.Image(label="Image", height=256, tool="editor", type="pil")
126
  strength = gr.Slider(label="Transformation strength", minimum=0, maximum=1, step=0.01, value=0.5)
127
 
128
  auto_prefix.change(lambda x: gr.update(placeholder=f"{prefix} [your prompt]" if x else "[Your prompt]"), inputs=auto_prefix, outputs=prompt, queue=False)
 
122
 
123
  with gr.Tab("Image to image"):
124
  with gr.Group():
125
+ image = gr.Image(label="Image", height=256, type="pil")
126
  strength = gr.Slider(label="Transformation strength", minimum=0, maximum=1, step=0.01, value=0.5)
127
 
128
  auto_prefix.change(lambda x: gr.update(placeholder=f"{prefix} [your prompt]" if x else "[Your prompt]"), inputs=auto_prefix, outputs=prompt, queue=False)