allinaigc commited on
Commit
e8ebaa5
1 Parent(s): f11487d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -483,5 +483,6 @@ if __name__ == '__main__':
483
  html_file = main(input=user_input)
484
 
485
  ##! working. 需要先在sidebar上设置re_btn,然后在这里调用regenerate函数。而不是在button里面直接用on-click来触发函数。
 
486
  if re_btn:
487
  regenerate()
 
483
  html_file = main(input=user_input)
484
 
485
  ##! working. 需要先在sidebar上设置re_btn,然后在这里调用regenerate函数。而不是在button里面直接用on-click来触发函数。
486
+ re_btn = None
487
  if re_btn:
488
  regenerate()