Manjushri commited on
Commit
4124675
1 Parent(s): da3a19c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -41,10 +41,10 @@ def genie (Prompt, negative_prompt, height, width, scale, steps, d_steps, seed):
41
 
42
  gr.Interface(fn=genie, inputs=[gr.Textbox(label='What you want the AI to generate. 77 Token Limit.'),
43
  gr.Textbox(label='What you Do Not want the AI to generate. 77 Token Limit'),
44
- gr.Slider(512, 1920, 1024, step=128, label='Height'),
45
- gr.Slider(512, 1920, 1024, step=128, label='Width'),
46
  gr.Slider(.5, maximum=15, value=3, step=.25, label='Guidance Scale'),
47
- gr.Slider(10, maximum=50, value=25, step=5, label='Number of Prior Iterations'),
48
  gr.Slider(5, maximum=20, value=10, step=5, label="Number of Decoder Iterations"),
49
  gr.Slider(minimum=0, step=1, maximum=9999999999999999, randomize=True, label='Seed: 0 is Random')],
50
  outputs=gr.Image(label='Generated Image'),
 
41
 
42
  gr.Interface(fn=genie, inputs=[gr.Textbox(label='What you want the AI to generate. 77 Token Limit.'),
43
  gr.Textbox(label='What you Do Not want the AI to generate. 77 Token Limit'),
44
+ gr.Slider(512, 1280, 1024, step=128, label='Height'),
45
+ gr.Slider(512, 1280, 1024, step=128, label='Width'),
46
  gr.Slider(.5, maximum=15, value=3, step=.25, label='Guidance Scale'),
47
+ gr.Slider(10, maximum=40, value=25, step=5, label='Number of Prior Iterations'),
48
  gr.Slider(5, maximum=20, value=10, step=5, label="Number of Decoder Iterations"),
49
  gr.Slider(minimum=0, step=1, maximum=9999999999999999, randomize=True, label='Seed: 0 is Random')],
50
  outputs=gr.Image(label='Generated Image'),