Doodle Duel Deploy commited on
Commit
3072601
·
1 Parent(s): a500ad9

Deploy Doodle Duel to HF Space

Browse files
Files changed (1) hide show
  1. 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... &#128064;</div>'
116
  )
117
  elif state.status == "drawing" and not state.reason_log:
118
- if state.guess_log:
119
- tried = ", ".join(state.guess_log[-4:])
120
- body = (
121
- f'<div class="thought analyzing">Hmm, not sure yet... tried: '
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... &#128064;</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: