Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,8 @@ negative_prompt = gr.Textbox(label="Negative Prompt")
|
|
13 |
sampling_method = gr.Radio(
|
14 |
["random", "greedy", "nucleus", "top_k", "top_p"], label="Sampling Method"
|
15 |
)
|
16 |
-
sampling_steps = gr.Number(label="Sampling Steps", value=100, min=1, max=1000)
|
|
|
17 |
cfg_scale = gr.Number(label="CFG Scale", min=0.1, max=10.0, default=1.0)
|
18 |
seed = gr.Number(label="Seed", min=0, max=2**31, default=0)
|
19 |
|
|
|
13 |
sampling_method = gr.Radio(
|
14 |
["random", "greedy", "nucleus", "top_k", "top_p"], label="Sampling Method"
|
15 |
)
|
16 |
+
sampling_steps = gr.Number(label="Sampling Steps", value=100, min=1, max=1000)
|
17 |
+
# Pass min and max as positional arguments after value
|
18 |
cfg_scale = gr.Number(label="CFG Scale", min=0.1, max=10.0, default=1.0)
|
19 |
seed = gr.Number(label="Seed", min=0, max=2**31, default=0)
|
20 |
|