Doodle Duel Deploy commited on
Commit ·
3072601
1
Parent(s): a500ad9
Deploy Doodle Duel to HF Space
Browse files- visuals.py +4 -11
visuals.py
CHANGED
|
@@ -115,17 +115,10 @@ def render_thinking(state) -> str:
|
|
| 115 |
'line by line as it watches your doodle take shape... 👀</div>'
|
| 116 |
)
|
| 117 |
elif state.status == "drawing" and not state.reason_log:
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
f'<em>{html.escape(tried)}</em></div>'
|
| 123 |
-
)
|
| 124 |
-
else:
|
| 125 |
-
body = (
|
| 126 |
-
'<div class="thought analyzing">'
|
| 127 |
-
'<span class="analyzing-spinner"></span>Analyzing your canvas...</div>'
|
| 128 |
-
)
|
| 129 |
elif not state.reason_log:
|
| 130 |
body = '<div class="tp-empty">No thoughts recorded this round.</div>'
|
| 131 |
else:
|
|
|
|
| 115 |
'line by line as it watches your doodle take shape... 👀</div>'
|
| 116 |
)
|
| 117 |
elif state.status == "drawing" and not state.reason_log:
|
| 118 |
+
body = (
|
| 119 |
+
'<div class="thought analyzing">'
|
| 120 |
+
'<span class="analyzing-spinner"></span>Analyzing your canvas...</div>'
|
| 121 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
elif not state.reason_log:
|
| 123 |
body = '<div class="tp-empty">No thoughts recorded this round.</div>'
|
| 124 |
else:
|