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: #F08080; border-radius: 2px; overflow: hidden;">
|
23 |
+
<div style="width: 100%; height: 100%; background-color: #ff0000 ; animation: loading 1.5s linear infinite;"></div>
|
24 |
</div>
|
25 |
</div>
|
26 |
<style>
|
27 |
+
@keyframes loading {{
|
28 |
+
0% {{ transform: translateX(-100%); }}
|
29 |
+
100% {{ transform: translateX(100%); }}
|
30 |
}}
|
31 |
</style>
|
32 |
'''
|