Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -456,7 +456,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
456 |
with gr.Tab("Sampling"):
|
457 |
with gr.Row():
|
458 |
cfg= gr.Slider(label="CFG", value=3.0, step=0.1, minimum=0, maximum=10, interactive=True)
|
459 |
-
steps = gr.Slider(label="Inference Steps", value=
|
460 |
with gr.Row():
|
461 |
negative_prompt = gr.Textbox(label="Negative Prompt", placeholder="low quality, blurry, unfinished, nudity, weapon", value="low quality, blurry, unfinished, nudity, weapon")
|
462 |
injection_step = gr.Slider(label="Injection Step", value=800, step=1, minimum=0, maximum=1000, interactive=True)
|
@@ -464,7 +464,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
464 |
with gr.Tab("Uploading a model"):
|
465 |
gr.Markdown("""<div style="text-align: justify;">Upload a model below downloaded from this demo.""")
|
466 |
|
467 |
-
file_input = gr.File(label="Upload Model", container=True
|
468 |
|
469 |
|
470 |
|
|
|
456 |
with gr.Tab("Sampling"):
|
457 |
with gr.Row():
|
458 |
cfg= gr.Slider(label="CFG", value=3.0, step=0.1, minimum=0, maximum=10, interactive=True)
|
459 |
+
steps = gr.Slider(label="Inference Steps", value=25, step=1, minimum=0, maximum=100, interactive=True)
|
460 |
with gr.Row():
|
461 |
negative_prompt = gr.Textbox(label="Negative Prompt", placeholder="low quality, blurry, unfinished, nudity, weapon", value="low quality, blurry, unfinished, nudity, weapon")
|
462 |
injection_step = gr.Slider(label="Injection Step", value=800, step=1, minimum=0, maximum=1000, interactive=True)
|
|
|
464 |
with gr.Tab("Uploading a model"):
|
465 |
gr.Markdown("""<div style="text-align: justify;">Upload a model below downloaded from this demo.""")
|
466 |
|
467 |
+
file_input = gr.File(label="Upload Model", container=True)
|
468 |
|
469 |
|
470 |
|