Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -215,7 +215,7 @@ with gr.Blocks(theme=gr.themes.Soft(), fill_width=True, css=css) as app:
|
|
215 |
lora_download_url = gr.Textbox(label="URL", placeholder="http://...my_lora_url.safetensors", lines=1)
|
216 |
with gr.Row():
|
217 |
lora_download = gr.Button("Get and set LoRA", scale=5)
|
218 |
-
lora_slot = gr.Number(label="LoRA slot to set", minimum=1, maximum=num_loras, step=1, value=1, scale=1, interactive=True)
|
219 |
|
220 |
gallery.select(
|
221 |
update_selection,
|
@@ -251,8 +251,8 @@ with gr.Blocks(theme=gr.themes.Soft(), fill_width=True, css=css) as app:
|
|
251 |
gr.on(
|
252 |
triggers=[lora_download.click, lora_download_url.submit],
|
253 |
fn=download_my_lora,
|
254 |
-
inputs=[lora_download_url, lora_repo[
|
255 |
-
outputs=[lora_repo[
|
256 |
scroll_to_output=True,
|
257 |
queue=True,
|
258 |
show_api=False,
|
|
|
215 |
lora_download_url = gr.Textbox(label="URL", placeholder="http://...my_lora_url.safetensors", lines=1)
|
216 |
with gr.Row():
|
217 |
lora_download = gr.Button("Get and set LoRA", scale=5)
|
218 |
+
#lora_slot = gr.Number(label="LoRA slot to set", minimum=1, maximum=num_loras, step=1, value=1, scale=1, interactive=True)
|
219 |
|
220 |
gallery.select(
|
221 |
update_selection,
|
|
|
251 |
gr.on(
|
252 |
triggers=[lora_download.click, lora_download_url.submit],
|
253 |
fn=download_my_lora,
|
254 |
+
inputs=[lora_download_url, lora_repo[0]],
|
255 |
+
outputs=[lora_repo[0]],
|
256 |
scroll_to_output=True,
|
257 |
queue=True,
|
258 |
show_api=False,
|