nroggendorff commited on
Commit
fa8239c
1 Parent(s): 8791bca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -16,7 +16,7 @@ with gr.Blocks() as interface:
16
  with gr.Column():
17
  with gr.Row():
18
  with gr.Column():
19
- prompt = gr.Textbox(label="Prompt", info="What do you want?", value="A perfectly red apple, 32k HDR, studio lighting", lines=4, interactive=True)
20
  negative_prompt = gr.Textbox(label="Negative Prompt", info="What do you want to exclude from the image?", value="ugly, low quality", lines=4, interactive=True)
21
  with gr.Column():
22
  generate_button = gr.Button("Generate")
@@ -25,8 +25,8 @@ with gr.Blocks() as interface:
25
  with gr.Accordion(label="Advanced Settings", open=False):
26
  with gr.Row():
27
  with gr.Column():
28
- width = gr.Slider(label="Width", info="The width in pixels of the generated image.", value=1024, minimum=128, maximum=4096, step=64, interactive=True)
29
- height = gr.Slider(label="Height", info="The height in pixels of the generated image.", value=1024, minimum=128, maximum=4096, step=64, interactive=True)
30
  with gr.Column():
31
  sampling_steps = gr.Slider(label="Sampling Steps", info="The number of denoising steps.", value=20, minimum=4, maximum=50, step=1, interactive=True)
32
 
 
16
  with gr.Column():
17
  with gr.Row():
18
  with gr.Column():
19
+ prompt = gr.Textbox(label="Prompt", info="What do you want?", value="A woman in a blue dress, 32k HDR, studio lighting", lines=4, interactive=True)
20
  negative_prompt = gr.Textbox(label="Negative Prompt", info="What do you want to exclude from the image?", value="ugly, low quality", lines=4, interactive=True)
21
  with gr.Column():
22
  generate_button = gr.Button("Generate")
 
25
  with gr.Accordion(label="Advanced Settings", open=False):
26
  with gr.Row():
27
  with gr.Column():
28
+ width = gr.Slider(label="Width", info="The width in pixels of the generated image.", value=512, minimum=128, maximum=4096, step=64, interactive=True)
29
+ height = gr.Slider(label="Height", info="The height in pixels of the generated image.", value=512, minimum=128, maximum=4096, step=64, interactive=True)
30
  with gr.Column():
31
  sampling_steps = gr.Slider(label="Sampling Steps", info="The number of denoising steps.", value=20, minimum=4, maximum=50, step=1, interactive=True)
32