Spaces:
Running
Running
_Noxty
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -84,10 +84,10 @@ with gr.Blocks(fill_width=True, css=css) as demo:
|
|
84 |
urls_remain = gr.Textbox("Remaining URLs", value="", show_copy_button=True, visible=False)
|
85 |
with gr.Column():
|
86 |
base_model = gr.File(label="Base Models")
|
|
|
87 |
with gr.Row():
|
88 |
prompt = gr.Textbox(label="Prompt", value="A highly detailed portrait of an underwater city, with towering spires and domes rising up from the ocean floor")
|
89 |
-
|
90 |
-
lora_A = gr.File(label="Lora")
|
91 |
num_steps = gr.Slider(label="Number of Steps", minimum=1, maximum=100, value=30, step=1)
|
92 |
guidance_scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=20.0, value=7.5, step=0.1)
|
93 |
sampler = gr.Dropdown(label="Sampler", choices=["DPM++ 2M", "OtherSampler1", "OtherSampler2"], value="DPM++ 2M")
|
@@ -100,14 +100,14 @@ with gr.Blocks(fill_width=True, css=css) as demo:
|
|
100 |
triggers=[run_base.click],
|
101 |
fn=download_file,
|
102 |
inputs=[dl_url, civitai_key],
|
103 |
-
outputs=
|
104 |
queue=True,
|
105 |
)
|
106 |
gr.on(
|
107 |
triggers=[run_lora.click],
|
108 |
fn=download_file,
|
109 |
inputs=[dl_url, civitai_key],
|
110 |
-
outputs=
|
111 |
queue=True,
|
112 |
)
|
113 |
gr.on(
|
|
|
84 |
urls_remain = gr.Textbox("Remaining URLs", value="", show_copy_button=True, visible=False)
|
85 |
with gr.Column():
|
86 |
base_model = gr.File(label="Base Models")
|
87 |
+
lora_A = gr.File(label="Lora")
|
88 |
with gr.Row():
|
89 |
prompt = gr.Textbox(label="Prompt", value="A highly detailed portrait of an underwater city, with towering spires and domes rising up from the ocean floor")
|
90 |
+
|
|
|
91 |
num_steps = gr.Slider(label="Number of Steps", minimum=1, maximum=100, value=30, step=1)
|
92 |
guidance_scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=20.0, value=7.5, step=0.1)
|
93 |
sampler = gr.Dropdown(label="Sampler", choices=["DPM++ 2M", "OtherSampler1", "OtherSampler2"], value="DPM++ 2M")
|
|
|
100 |
triggers=[run_base.click],
|
101 |
fn=download_file,
|
102 |
inputs=[dl_url, civitai_key],
|
103 |
+
outputs=base_model,
|
104 |
queue=True,
|
105 |
)
|
106 |
gr.on(
|
107 |
triggers=[run_lora.click],
|
108 |
fn=download_file,
|
109 |
inputs=[dl_url, civitai_key],
|
110 |
+
outputs=lora_A,
|
111 |
queue=True,
|
112 |
)
|
113 |
gr.on(
|