youngtsai commited on
Commit
a7b86a8
·
1 Parent(s): 548eaf3

chinese_paragraph_save_history_button.click(

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -3492,6 +3492,10 @@ with gr.Blocks(theme=THEME, css=CSS) as demo:
3492
  chinese_full_paragraph_save_output_history = gr.Markdown()
3493
 
3494
  chinese_paragraph_save_history_button.click(
 
 
 
 
3495
  fn=generate_chinese_paragraph_practice_history,
3496
  inputs=[
3497
  user_data,
@@ -3517,10 +3521,6 @@ with gr.Blocks(theme=THEME, css=CSS) as demo:
3517
  chinese_full_paragraph_refine_output_table_history,
3518
  chinese_full_paragraph_save_output_history
3519
  ]
3520
- ).then(
3521
- fn=update_history_accordion,
3522
- inputs=[],
3523
- outputs=[chinese_grapragh_practice_history_accordion]
3524
  )
3525
 
3526
  chinese_full_paragraph_evaluate_button.click(
 
3492
  chinese_full_paragraph_save_output_history = gr.Markdown()
3493
 
3494
  chinese_paragraph_save_history_button.click(
3495
+ fn=update_history_accordion,
3496
+ inputs=[],
3497
+ outputs=[chinese_grapragh_practice_history_accordion]
3498
+ ).then(
3499
  fn=generate_chinese_paragraph_practice_history,
3500
  inputs=[
3501
  user_data,
 
3521
  chinese_full_paragraph_refine_output_table_history,
3522
  chinese_full_paragraph_save_output_history
3523
  ]
 
 
 
 
3524
  )
3525
 
3526
  chinese_full_paragraph_evaluate_button.click(