Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -345,7 +345,7 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
| 345 |
)
|
| 346 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
| 347 |
result = gr.Image(label="Result", show_label=False)
|
| 348 |
-
with gr.Accordion("Advanced Settings", open=
|
| 349 |
latent_file = gr.File(label="Image File (optional)") # Add latents file input
|
| 350 |
negative_prompt = gr.Text(
|
| 351 |
label="Negative prompt",
|
|
@@ -391,7 +391,7 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
| 391 |
minimum=1,
|
| 392 |
maximum=500,
|
| 393 |
step=1,
|
| 394 |
-
value=
|
| 395 |
)
|
| 396 |
gr.Examples(examples=examples, inputs=[prompt])
|
| 397 |
gr.on(
|
|
|
|
| 345 |
)
|
| 346 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
| 347 |
result = gr.Image(label="Result", show_label=False)
|
| 348 |
+
with gr.Accordion("Advanced Settings", open=True):
|
| 349 |
latent_file = gr.File(label="Image File (optional)") # Add latents file input
|
| 350 |
negative_prompt = gr.Text(
|
| 351 |
label="Negative prompt",
|
|
|
|
| 391 |
minimum=1,
|
| 392 |
maximum=500,
|
| 393 |
step=1,
|
| 394 |
+
value=220, # Replace with defaults that work for your model
|
| 395 |
)
|
| 396 |
gr.Examples(examples=examples, inputs=[prompt])
|
| 397 |
gr.on(
|