Tonic commited on
Commit
c405c33
Β·
1 Parent(s): a8763a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -54,12 +54,12 @@ with gr.Blocks() as demo:
54
  gr.Textbox(label="Prompts to generate images (separate with new lines)", lines=5)
55
  with gr.Accordion(label="Advanced Settings"):
56
  with gr.Row():
57
- gr.Number(value=1.1, label="shared_score_shift", min=1.0, max=2.0)
58
- gr.Number(value=1.0, label="shared_score_scale", min=0.0, max=1.0)
59
- gr.Number(value=10.0, label="guidance_scale", min=5.0, max=20.0)
60
- gr.Number(value=50, label="num_inference_steps", min=1, max=100, precision=0)
61
  gr.Checkbox(False, label="Large (1024x1024)")
62
- gr.Number(value=0, label="seed (0 for random)", min=0, max=10000, precision=0)
63
  with gr.Row():
64
  gr.Gallery()
65
 
 
54
  gr.Textbox(label="Prompts to generate images (separate with new lines)", lines=5)
55
  with gr.Accordion(label="Advanced Settings"):
56
  with gr.Row():
57
+ gr.Number(value=1.1, label="shared_score_shift", minimum=1.0, maximum=2.0, step=0.05)
58
+ gr.Number(value=1.0, label="shared_score_scale", minimum=0.0, maximum=1.0, step=0.05)
59
+ gr.Number(value=10.0, label="guidance_scale", minimum=5.0, maximum=20.0, step=1)
60
+ gr.Number(value=12, label="num_inference_steps", minimum=1, maximum=12, step=1)
61
  gr.Checkbox(False, label="Large (1024x1024)")
62
+ gr.Number(value=0, label="seed (0 for random)", minimum=0, maximum=1000000, step=42)
63
  with gr.Row():
64
  gr.Gallery()
65