John6666 commited on
Commit
7d3e13e
1 Parent(s): 0139658

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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,