Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ with gr.Blocks(css=css, theme="zenafey/prodia-web") as demo:
|
|
| 36 |
choices=samplers)
|
| 37 |
|
| 38 |
with gr.Column(scale=1):
|
| 39 |
-
steps = gr.Slider(label="Sampling Steps", minimum=1, maximum=
|
| 40 |
|
| 41 |
with gr.Row():
|
| 42 |
with gr.Column(scale=8):
|
|
@@ -45,9 +45,9 @@ with gr.Blocks(css=css, theme="zenafey/prodia-web") as demo:
|
|
| 45 |
|
| 46 |
with gr.Column(scale=1):
|
| 47 |
batch_size = gr.Slider(label="Batch Size", maximum=1, value=1)
|
| 48 |
-
batch_count = gr.Slider(label="Batch Count", minimum=1, maximum=
|
| 49 |
|
| 50 |
-
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, step=
|
| 51 |
seed = gr.Number(label="Seed", value=-1)
|
| 52 |
|
| 53 |
with gr.Tab("Lora"):
|
|
@@ -82,7 +82,7 @@ with gr.Blocks(css=css, theme="zenafey/prodia-web") as demo:
|
|
| 82 |
label="Sampling Method", choices=samplers)
|
| 83 |
|
| 84 |
with gr.Column(scale=1):
|
| 85 |
-
i2i_steps = gr.Slider(label="Sampling Steps", minimum=1, maximum=
|
| 86 |
|
| 87 |
with gr.Row():
|
| 88 |
with gr.Column(scale=6):
|
|
@@ -91,10 +91,10 @@ with gr.Blocks(css=css, theme="zenafey/prodia-web") as demo:
|
|
| 91 |
|
| 92 |
with gr.Column(scale=1):
|
| 93 |
i2i_batch_size = gr.Slider(label="Batch Size", maximum=1, value=1)
|
| 94 |
-
i2i_batch_count = gr.Slider(label="Batch Count", minimum=1, maximum=
|
| 95 |
|
| 96 |
i2i_cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, step=1)
|
| 97 |
-
i2i_denoising = gr.Slider(label="Denoising Strength", minimum=0, maximum=1, value=0.
|
| 98 |
i2i_seed = gr.Number(label="Seed", value=-1)
|
| 99 |
|
| 100 |
with gr.Tab("Lora"):
|
|
|
|
| 36 |
choices=samplers)
|
| 37 |
|
| 38 |
with gr.Column(scale=1):
|
| 39 |
+
steps = gr.Slider(label="Sampling Steps", minimum=1, maximum=60, value=25, step=0.5)
|
| 40 |
|
| 41 |
with gr.Row():
|
| 42 |
with gr.Column(scale=8):
|
|
|
|
| 45 |
|
| 46 |
with gr.Column(scale=1):
|
| 47 |
batch_size = gr.Slider(label="Batch Size", maximum=1, value=1)
|
| 48 |
+
batch_count = gr.Slider(label="Batch Count", minimum=1, maximum=50, value=1, step=1)
|
| 49 |
|
| 50 |
+
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, step=0.5)
|
| 51 |
seed = gr.Number(label="Seed", value=-1)
|
| 52 |
|
| 53 |
with gr.Tab("Lora"):
|
|
|
|
| 82 |
label="Sampling Method", choices=samplers)
|
| 83 |
|
| 84 |
with gr.Column(scale=1):
|
| 85 |
+
i2i_steps = gr.Slider(label="Sampling Steps", minimum=1, maximum=60, value=25, step=0.5)
|
| 86 |
|
| 87 |
with gr.Row():
|
| 88 |
with gr.Column(scale=6):
|
|
|
|
| 91 |
|
| 92 |
with gr.Column(scale=1):
|
| 93 |
i2i_batch_size = gr.Slider(label="Batch Size", maximum=1, value=1)
|
| 94 |
+
i2i_batch_count = gr.Slider(label="Batch Count", minimum=1, maximum=50, value=1, step=1)
|
| 95 |
|
| 96 |
i2i_cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, step=1)
|
| 97 |
+
i2i_denoising = gr.Slider(label="Denoising Strength", minimum=0, maximum=1, value=0.5, step=0.05)
|
| 98 |
i2i_seed = gr.Number(label="Seed", value=-1)
|
| 99 |
|
| 100 |
with gr.Tab("Lora"):
|