Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1121,6 +1121,8 @@ async () => {{
|
|
1121 |
deadlineTextBegin();
|
1122 |
}} else if (actualDay > 0) {{
|
1123 |
deadlineText(actualDay);
|
|
|
|
|
1124 |
}} else {{
|
1125 |
clearInterval(timer);
|
1126 |
deadlineTextFinished();
|
@@ -1149,8 +1151,6 @@ async () => {{
|
|
1149 |
state = true;
|
1150 |
|
1151 |
// Run the main animation just once.
|
1152 |
-
gradioEl.querySelector('#progress-time-fill').style['animation-duration'] = animationTime + 's';
|
1153 |
-
gradioEl.querySelector('#death-group').style['animation-duration'] = animationTime + 's';
|
1154 |
timerFunc(animationTime, days);
|
1155 |
deadlineAnimation();
|
1156 |
deadlineText({opt.run_time});
|
|
|
1121 |
deadlineTextBegin();
|
1122 |
}} else if (actualDay > 0) {{
|
1123 |
deadlineText(actualDay);
|
1124 |
+
gradioEl.querySelector('#progress-time-fill').style['animation-duration'] = animationTime + 's';
|
1125 |
+
gradioEl.querySelector('#death-group').style['animation-duration'] = animationTime + 's';
|
1126 |
}} else {{
|
1127 |
clearInterval(timer);
|
1128 |
deadlineTextFinished();
|
|
|
1151 |
state = true;
|
1152 |
|
1153 |
// Run the main animation just once.
|
|
|
|
|
1154 |
timerFunc(animationTime, days);
|
1155 |
deadlineAnimation();
|
1156 |
deadlineText({opt.run_time});
|