Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -121,8 +121,8 @@ with gr.Blocks(css=css) as demo:
|
|
121 |
with gr.Column():
|
122 |
model = gr.Dropdown(label="Model", choices=models, value=models[0])
|
123 |
prompt = gr.Textbox(label="Prompt", placeholder="{} is added automatically".format(prompt_prefixes[current_model]), elem_id="input-prompt")
|
124 |
-
guidance = gr.Slider(label="Guidance scale", value=7
|
125 |
-
steps = gr.Slider(label="Steps", value=
|
126 |
run = gr.Button(value="Run")
|
127 |
gr.Markdown(f"Running on: {device}")
|
128 |
with gr.Column():
|
|
|
121 |
with gr.Column():
|
122 |
model = gr.Dropdown(label="Model", choices=models, value=models[0])
|
123 |
prompt = gr.Textbox(label="Prompt", placeholder="{} is added automatically".format(prompt_prefixes[current_model]), elem_id="input-prompt")
|
124 |
+
guidance = gr.Slider(label="Guidance scale", value=7, maximum=8)
|
125 |
+
steps = gr.Slider(label="Steps", value=20, maximum=30, minimum=2)
|
126 |
run = gr.Button(value="Run")
|
127 |
gr.Markdown(f"Running on: {device}")
|
128 |
with gr.Column():
|