Update app.py
Browse files
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 |
-
|
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 |
-
|
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
|