Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -19,14 +19,14 @@ def progress_bar_html(label: str) -> str:
|
|
19 |
return f'''
|
20 |
<div style="display: flex; align-items: center;">
|
21 |
<span style="margin-right: 10px; font-size: 14px;">{label}</span>
|
22 |
-
<div style="width: 110px; height: 5px; background-color: #
|
23 |
-
<div style="width: 100%; height: 100%; background
|
24 |
</div>
|
25 |
</div>
|
26 |
<style>
|
27 |
-
@keyframes
|
28 |
-
|
29 |
-
|
30 |
}}
|
31 |
</style>
|
32 |
'''
|
|
|
19 |
return f'''
|
20 |
<div style="display: flex; align-items: center;">
|
21 |
<span style="margin-right: 10px; font-size: 14px;">{label}</span>
|
22 |
+
<div style="width: 110px; height: 5px; background-color: #333; border-radius: 2px; overflow: hidden;">
|
23 |
+
<div style="width: 100%; height: 100%; background: linear-gradient(90deg, #FF4500, #FFA500, #FFD700); background-size: 200% auto; animation: fireflow 1.5s linear infinite;"></div>
|
24 |
</div>
|
25 |
</div>
|
26 |
<style>
|
27 |
+
@keyframes fireflow {{
|
28 |
+
from {{ background-position: 200% center; }}
|
29 |
+
to {{ background-position: -200% center; }}
|
30 |
}}
|
31 |
</style>
|
32 |
'''
|