Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ It saves you the trouble of typing them in.<br>
|
|
47 |
sample_size = gr.Radio(label="Sample size (px)", choices=[512, 768], value=768)
|
48 |
ema = gr.Radio(label="Extract EMA or non-EMA?", choices=["ema", "non-ema"], value="ema")
|
49 |
vae = gr.Dropdown(label="VAE", choices=vaes, value="", allow_custom_value=True)
|
50 |
-
scheduler = gr.Dropdown(label="Scheduler (Sampler)", choices=schedulers, value="Euler
|
51 |
lora1 = gr.Dropdown(label="LoRA1", choices=loras, value="", allow_custom_value=True)
|
52 |
lora1s = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="LoRA1 weight scale")
|
53 |
lora2 = gr.Dropdown(label="LoRA2", choices=loras, value="", allow_custom_value=True)
|
@@ -61,6 +61,7 @@ It saves you the trouble of typing them in.<br>
|
|
61 |
run_button = gr.Button(value="Submit")
|
62 |
repo_urls = gr.CheckboxGroup(visible=False, choices=[], value=None)
|
63 |
output_md = gr.Markdown(label="Output")
|
|
|
64 |
|
65 |
gr.on(
|
66 |
triggers=[run_button.click],
|
|
|
47 |
sample_size = gr.Radio(label="Sample size (px)", choices=[512, 768], value=768)
|
48 |
ema = gr.Radio(label="Extract EMA or non-EMA?", choices=["ema", "non-ema"], value="ema")
|
49 |
vae = gr.Dropdown(label="VAE", choices=vaes, value="", allow_custom_value=True)
|
50 |
+
scheduler = gr.Dropdown(label="Scheduler (Sampler)", choices=schedulers, value="Euler")
|
51 |
lora1 = gr.Dropdown(label="LoRA1", choices=loras, value="", allow_custom_value=True)
|
52 |
lora1s = gr.Slider(minimum=-2, maximum=2, step=0.01, value=1.00, label="LoRA1 weight scale")
|
53 |
lora2 = gr.Dropdown(label="LoRA2", choices=loras, value="", allow_custom_value=True)
|
|
|
61 |
run_button = gr.Button(value="Submit")
|
62 |
repo_urls = gr.CheckboxGroup(visible=False, choices=[], value=None)
|
63 |
output_md = gr.Markdown(label="Output")
|
64 |
+
gr.DuplicateButton(value="Duplicate Space")
|
65 |
|
66 |
gr.on(
|
67 |
triggers=[run_button.click],
|