Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|