Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -26,10 +26,10 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", fill_width=True, css=css) as demo:
|
|
26 |
prompt = gr.Text(label="Prompt", lines=2, max_lines=8, placeholder="1girl, solo, ...", show_copy_button=True)
|
27 |
neg_prompt = gr.Text(label="Negative Prompt", lines=1, max_lines=8, placeholder="")
|
28 |
with gr.Accordion("Advanced options", open=False):
|
29 |
-
width = gr.Number(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=
|
30 |
-
height = gr.Number(label="Height", info="If 0, the default value is used.", maximum=1216, step=32, value=
|
31 |
-
steps = gr.Number(label="Number of inference steps", info="If 0, the default value is used.", maximum=100, step=1, value=
|
32 |
-
cfg = gr.Number(label="Guidance scale", info="If 0, the default value is used.", maximum=30.0, step=0.1, value=
|
33 |
with gr.Accordion("Recommended Prompt", open=False):
|
34 |
recom_prompt_preset = gr.Radio(label="Set Presets", choices=get_recom_prompt_type(), value="Common")
|
35 |
with gr.Row():
|
|
|
26 |
prompt = gr.Text(label="Prompt", lines=2, max_lines=8, placeholder="1girl, solo, ...", show_copy_button=True)
|
27 |
neg_prompt = gr.Text(label="Negative Prompt", lines=1, max_lines=8, placeholder="")
|
28 |
with gr.Accordion("Advanced options", open=False):
|
29 |
+
width = gr.Number(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
|
30 |
+
height = gr.Number(label="Height", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
|
31 |
+
steps = gr.Number(label="Number of inference steps", info="If 0, the default value is used.", maximum=100, step=1, value=0)
|
32 |
+
cfg = gr.Number(label="Guidance scale", info="If 0, the default value is used.", maximum=30.0, step=0.1, value=0)
|
33 |
with gr.Accordion("Recommended Prompt", open=False):
|
34 |
recom_prompt_preset = gr.Radio(label="Set Presets", choices=get_recom_prompt_type(), value="Common")
|
35 |
with gr.Row():
|