Spaces:
Runtime error
Runtime error
Commit
·
e80b64b
1
Parent(s):
c33cd16
Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ with gr.Blocks(css=css, theme="Base") as demo:
|
|
128 |
with gr.Accordion("Advanced options", open=False):
|
129 |
with gr.Row():
|
130 |
with gr.Column(scale=6):
|
131 |
-
model = gr.Dropdown(interactive=True,value="v1-5-pruned-emaonly.safetensors [d7049739]", show_label=True, label="
|
132 |
|
133 |
|
134 |
with gr.Row():
|
@@ -168,7 +168,7 @@ with gr.Blocks(css=css, theme="Base") as demo:
|
|
168 |
batch_count = gr.Slider(label="Batch Count", maximum=1, value=1)
|
169 |
|
170 |
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, step=1)
|
171 |
-
seed = gr.
|
172 |
|
173 |
|
174 |
text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
|
|
|
128 |
with gr.Accordion("Advanced options", open=False):
|
129 |
with gr.Row():
|
130 |
with gr.Column(scale=6):
|
131 |
+
model = gr.Dropdown(interactive=True,value="v1-5-pruned-emaonly.safetensors [d7049739]", show_label=True, label="Model", choices=prodia_client.list_models())
|
132 |
|
133 |
|
134 |
with gr.Row():
|
|
|
168 |
batch_count = gr.Slider(label="Batch Count", maximum=1, value=1)
|
169 |
|
170 |
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, step=1)
|
171 |
+
seed = gr.Sgr.Slider(label="Seed", maximum=, minimum = -1, value=-1, step=1, info="""'-1' is random seed""")
|
172 |
|
173 |
|
174 |
text_button.click(flip_text, inputs=[prompt, negative_prompt, model, steps, sampler, cfg_scale, width, height, seed], outputs=image_output)
|