John6666 commited on
Commit
4fa5b61
1 Parent(s): 63f2dc6

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.Slider(label="Set to LoRA slot", minimum=1, maximum=num_loras+1, step=1, value=1)
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,