multimodalart HF staff commited on
Commit
1d029c0
1 Parent(s): 181da96

Add prompt cues

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -187,8 +187,8 @@ with gr.Blocks(css=css) as app:
187
  control_image = gr.Image(label="Input Illusion", type="pil", elem_id="control_image")
188
  controlnet_conditioning_scale = gr.Slider(minimum=0.0, maximum=5.0, step=0.01, value=0.8, label="Illusion strength", elem_id="illusion_strength", info="ControlNet conditioning scale")
189
  gr.Examples(examples=["checkers.png", "checkers_mid.jpg", "pattern.png", "ultra_checkers.png", "spiral.jpeg", "funky.jpeg" ], inputs=control_image)
190
- prompt = gr.Textbox(label="Prompt", elem_id="prompt")
191
- negative_prompt = gr.Textbox(label="Negative Prompt", value="low quality", elem_id="negative_prompt")
192
  with gr.Accordion(label="Advanced Options", open=False):
193
  guidance_scale = gr.Slider(minimum=0.0, maximum=50.0, step=0.25, value=7.5, label="Guidance Scale")
194
  sampler = gr.Dropdown(choices=list(SAMPLER_MAP.keys()), value="Euler")
 
187
  control_image = gr.Image(label="Input Illusion", type="pil", elem_id="control_image")
188
  controlnet_conditioning_scale = gr.Slider(minimum=0.0, maximum=5.0, step=0.01, value=0.8, label="Illusion strength", elem_id="illusion_strength", info="ControlNet conditioning scale")
189
  gr.Examples(examples=["checkers.png", "checkers_mid.jpg", "pattern.png", "ultra_checkers.png", "spiral.jpeg", "funky.jpeg" ], inputs=control_image)
190
+ prompt = gr.Textbox(label="Prompt", elem_id="prompt", info="Type what you want to generate", placeholder="Medieval village scene with busy streets and castle in the distance")
191
+ negative_prompt = gr.Textbox(label="Negative Prompt", info="Type what you don't want to see", value="low quality", elem_id="negative_prompt")
192
  with gr.Accordion(label="Advanced Options", open=False):
193
  guidance_scale = gr.Slider(minimum=0.0, maximum=50.0, step=0.25, value=7.5, label="Guidance Scale")
194
  sampler = gr.Dropdown(choices=list(SAMPLER_MAP.keys()), value="Euler")