Upload app.py
Browse files
app.py
CHANGED
@@ -214,8 +214,8 @@ with gr.Blocks(theme=gr.themes.Soft(), fill_width=True, css=css) as app:
|
|
214 |
lora_search_civitai_desc = gr.Markdown(value="", visible=False)
|
215 |
lora_download_url = gr.Textbox(label="URL", placeholder="http://...my_lora_url.safetensors", lines=1)
|
216 |
with gr.Row():
|
217 |
-
lora_slot = gr.
|
218 |
-
lora_download = gr.Button("Get and set LoRA")
|
219 |
|
220 |
gallery.select(
|
221 |
update_selection,
|
|
|
214 |
lora_search_civitai_desc = gr.Markdown(value="", visible=False)
|
215 |
lora_download_url = gr.Textbox(label="URL", placeholder="http://...my_lora_url.safetensors", lines=1)
|
216 |
with gr.Row():
|
217 |
+
lora_slot = gr.Number(label="LoRA slot to set", minimum=1, maximum=num_loras+1, step=1, value=1, scale=1, interactive=True)
|
218 |
+
lora_download = gr.Button("Get and set LoRA", scale=5)
|
219 |
|
220 |
gallery.select(
|
221 |
update_selection,
|