robertkeus commited on
Commit
dbefdc4
·
verified ·
1 Parent(s): f4019b4

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ def _respond(msg, history):
157
  if all(c in BY_GLYPH for c in msg):
158
  keys = [BY_GLYPH[c][0] for c in msg]
159
  else:
160
- keys = kw_parse(msg) or intent(msg)
161
 
162
  if keys: # stream the glyph reasoning step by step
163
  al = lambda g: chr(0x1400 + (ord(g) - 0x4e00))
 
157
  if all(c in BY_GLYPH for c in msg):
158
  keys = [BY_GLYPH[c][0] for c in msg]
159
  else:
160
+ keys = kw_parse(msg) # reliable; no model guessing (avoids false glyph mode on chat)
161
 
162
  if keys: # stream the glyph reasoning step by step
163
  al = lambda g: chr(0x1400 + (ord(g) - 0x4e00))