laichaoyi commited on
Commit
efdc9f7
1 Parent(s): e1d156b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -311,7 +311,7 @@ with gr.Blocks(js = js_func) as demo:
311
  outputs=[prompt_output, negative_prompt_output, model_output, lora_output, seed_output, sampler_output, sampler_params_output, other_metadata_output]
312
  )
313
  copy_button.click(
314
- copy_to_clipboard,
315
  inputs=None,
316
  outputs=message_output,
317
  show_progress=False
@@ -319,7 +319,7 @@ with gr.Blocks(js = js_func) as demo:
319
 
320
  # Gắn sự kiện click cho nút hủy sao chép
321
  cancel_button.click(
322
- cancel_copy,
323
  inputs=None,
324
  outputs=message_output,
325
  show_progress=False
 
311
  outputs=[prompt_output, negative_prompt_output, model_output, lora_output, seed_output, sampler_output, sampler_params_output, other_metadata_output]
312
  )
313
  copy_button.click(
314
+ fn=notify_download,
315
  inputs=None,
316
  outputs=message_output,
317
  show_progress=False
 
319
 
320
  # Gắn sự kiện click cho nút hủy sao chép
321
  cancel_button.click(
322
+ fn=notify_download,
323
  inputs=None,
324
  outputs=message_output,
325
  show_progress=False