smartdigitalnetworks commited on
Commit
167c05f
·
verified ·
1 Parent(s): c677cc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -26,7 +26,7 @@ with gr.Blocks(css="footer {visibility: hidden !important;}") as demo:
26
  with gr.Column():
27
  prompt = gr.Textbox(label="Your Guidance", value="a beautiful flower")
28
  negative = gr.Textbox(label="Avoid (Optional)", value="low-resolution")
29
- steps = gr.Slider(1, 30, value=13, label="Quality Steps", visible=False)
30
  btn = gr.Button("Generate Image")
31
 
32
  output = gr.Image(label="Result", height=400),
@@ -36,10 +36,10 @@ with gr.Blocks(css="footer {visibility: hidden !important;}") as demo:
36
 
37
  gr.Examples(
38
  examples=[
39
- ["cityscape at night, red lights", "people", 12],
40
- ["watercolor painting of a flower", "photorealistic", 8]
41
  ],
42
- inputs=[prompt, negative, steps]
43
  )
44
 
45
  demo.launch()
 
26
  with gr.Column():
27
  prompt = gr.Textbox(label="Your Guidance", value="a beautiful flower")
28
  negative = gr.Textbox(label="Avoid (Optional)", value="low-resolution")
29
+ steps = gr.Slider(1, 30, value=11, label="Quality Steps", visible=False)
30
  btn = gr.Button("Generate Image")
31
 
32
  output = gr.Image(label="Result", height=400),
 
36
 
37
  gr.Examples(
38
  examples=[
39
+ ["cityscape at night, red lights", "people"],
40
+ ["watercolor painting of a flower", "photorealistic"]
41
  ],
42
+ inputs=[prompt, negative]
43
  )
44
 
45
  demo.launch()