Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1149,7 +1149,8 @@ async () => {{
|
|
1149 |
state = true;
|
1150 |
|
1151 |
// Run the main animation just once.
|
1152 |
-
gradioEl.querySelector('#progress-time-fill
|
|
|
1153 |
timerFunc(animationTime, days);
|
1154 |
deadlineAnimation();
|
1155 |
deadlineText({opt.run_time});
|
|
|
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});
|