Severian commited on
Commit
29e07c4
·
verified ·
1 Parent(s): 03202bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -150,6 +150,7 @@ The QR code serves as both the initial image and the control image, allowing for
150
  label="QR Code Content",
151
  info="QR Code Content or URL",
152
  value="",
 
153
  )
154
  with gr.Accordion(label="QR Code Image (Optional)", open=False):
155
  qr_code_image = gr.Image(
@@ -160,13 +161,19 @@ The QR code serves as both the initial image and the control image, allowing for
160
  prompt = gr.Textbox(
161
  label="Prompt",
162
  info="Prompt that guides the generation towards",
 
163
  )
164
  negative_prompt = gr.Textbox(
165
  label="Negative Prompt",
166
  value="ugly, disfigured, low quality, blurry, nsfw",
 
 
 
 
 
 
 
167
  )
168
- use_qr_code_as_init_image = gr.Checkbox(label="Use QR code as init image", value=True, interactive=False, info="Whether init image should be QR code. Unclick to pass init image or generate init image with Stable Diffusion 2.1")
169
-
170
  with gr.Accordion(label="Init Images (Optional)", open=False, visible=False) as init_image_acc:
171
  init_image = gr.Image(label="Init Image (Optional). Leave blank to generate image with SD 2.1", type="pil")
172
 
 
150
  label="QR Code Content",
151
  info="QR Code Content or URL",
152
  value="",
153
+ placeholder="https://www.go-yamamoto.com",
154
  )
155
  with gr.Accordion(label="QR Code Image (Optional)", open=False):
156
  qr_code_image = gr.Image(
 
161
  prompt = gr.Textbox(
162
  label="Prompt",
163
  info="Prompt that guides the generation towards",
164
+ placeholder="A futuristic cityscape with neon lights",
165
  )
166
  negative_prompt = gr.Textbox(
167
  label="Negative Prompt",
168
  value="ugly, disfigured, low quality, blurry, nsfw",
169
+ placeholder="ugly, disfigured, low quality, blurry, nsfw",
170
+ )
171
+ use_qr_code_as_init_image = gr.Checkbox(
172
+ label="Use QR code as init image",
173
+ value=True,
174
+ interactive=False,
175
+ info="Whether init image should be QR code. Unclick to pass init image or generate init image with Stable Diffusion 2.1"
176
  )
 
 
177
  with gr.Accordion(label="Init Images (Optional)", open=False, visible=False) as init_image_acc:
178
  init_image = gr.Image(label="Init Image (Optional). Leave blank to generate image with SD 2.1", type="pil")
179