Spaces:
Running
Running
Aliaksandr
commited on
bugfix (#24)
Browse files- src/web/utils.py +2 -1
src/web/utils.py
CHANGED
@@ -28,11 +28,12 @@ def create_status_html(status: str, steps: list[tuple[str, bool]], error_text: s
|
|
28 |
}
|
29 |
"""
|
30 |
|
|
|
31 |
steps_html = "\n".join(
|
32 |
[
|
33 |
f'<div class="step-item" style="display: flex; align-items: center; padding: 0.8rem; margin-bottom: 0.5rem; background-color: #31395294; border-radius: 6px; font-weight: 600;">'
|
34 |
f'<span class="step-icon" style="margin-right: 1rem; font-size: 1.3rem;">'
|
35 |
-
f'{"β
" if completed else
|
36 |
f'</span>'
|
37 |
f'<span class="step-text" style="font-size: 1.1rem; color: #e0e0e0;">{step}</span>'
|
38 |
f'</div>'
|
|
|
28 |
}
|
29 |
"""
|
30 |
|
31 |
+
spinner_div = "<div class='spinner'></div>"
|
32 |
steps_html = "\n".join(
|
33 |
[
|
34 |
f'<div class="step-item" style="display: flex; align-items: center; padding: 0.8rem; margin-bottom: 0.5rem; background-color: #31395294; border-radius: 6px; font-weight: 600;">'
|
35 |
f'<span class="step-icon" style="margin-right: 1rem; font-size: 1.3rem;">'
|
36 |
+
f'{"β
" if completed else spinner_div}'
|
37 |
f'</span>'
|
38 |
f'<span class="step-text" style="font-size: 1.1rem; color: #e0e0e0;">{step}</span>'
|
39 |
f'</div>'
|