Upload app.py
Browse files
app.py
CHANGED
@@ -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[int(lambda i: i - 1, lora_slot)]],
|
255 |
-
outputs=[lora_repo[int(lambda i: i - 1, lora_slot)]],
|
256 |
scroll_to_output=True,
|
257 |
queue=True,
|
258 |
show_api=False,
|
|
|
251 |
gr.on(
|
252 |
triggers=[lora_download.click, lora_download_url.submit],
|
253 |
fn=download_my_lora,
|
254 |
+
inputs=[lora_download_url, lora_repo[int(lambda i: i - 1, lora_slot.value)]],
|
255 |
+
outputs=[lora_repo[int(lambda i: i - 1, lora_slot.value)]],
|
256 |
scroll_to_output=True,
|
257 |
queue=True,
|
258 |
show_api=False,
|