Spaces:
Runtime error
Runtime error
Update app.py
#3
by
yanze
- opened
app.py
CHANGED
@@ -231,7 +231,7 @@ with gr.Blocks(title="CoAdapter", css=".gr-box {border-color: #8136e2}") as demo
|
|
231 |
prompt = gr.Textbox(label="Prompt")
|
232 |
neg_prompt = gr.Textbox(label="Negative Prompt", value=DEFAULT_NEGATIVE_PROMPT)
|
233 |
scale = gr.Slider(label="Guidance Scale (Classifier free guidance)", value=7.5, minimum=1, maximum=20, step=0.1)
|
234 |
-
n_samples = gr.Slider(label="Num samples", value=1, minimum=1, maximum=
|
235 |
seed = gr.Slider(label="Seed", value=42, minimum=0, maximum=10000, step=1)
|
236 |
steps = gr.Slider(label="Steps", value=50, minimum=10, maximum=100, step=1)
|
237 |
resize_short_edge = gr.Slider(label="Image resolution", value=512, minimum=320, maximum=1024, step=1)
|
|
|
231 |
prompt = gr.Textbox(label="Prompt")
|
232 |
neg_prompt = gr.Textbox(label="Negative Prompt", value=DEFAULT_NEGATIVE_PROMPT)
|
233 |
scale = gr.Slider(label="Guidance Scale (Classifier free guidance)", value=7.5, minimum=1, maximum=20, step=0.1)
|
234 |
+
n_samples = gr.Slider(label="Num samples", value=1, minimum=1, maximum=1, step=1)
|
235 |
seed = gr.Slider(label="Seed", value=42, minimum=0, maximum=10000, step=1)
|
236 |
steps = gr.Slider(label="Steps", value=50, minimum=10, maximum=100, step=1)
|
237 |
resize_short_edge = gr.Slider(label="Image resolution", value=512, minimum=320, maximum=1024, step=1)
|