Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
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,
|
45 |
-
gr.Slider(512,
|
46 |
gr.Slider(.5, maximum=15, value=3, step=.25, label='Guidance Scale'),
|
47 |
-
gr.Slider(10, maximum=
|
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'),
|