lingyit1108 commited on
Commit
0d403a5
1 Parent(s): 1a19f06

fix dollar symbol

Browse files
Files changed (1) hide show
  1. financial_consultant_persona.py +3 -3
financial_consultant_persona.py CHANGED
@@ -256,9 +256,9 @@ with pitch_tab:
256
  for chunk in stream:
257
  token = chunk.choices[0].delta.content
258
  if token is not None:
259
- full_response += token
260
- # full_response += token.replace("\n", " \n") \
261
- # .replace("$", "\$") \
262
  # .replace("\[", "$$")
263
  placeholder.markdown(full_response)
264
  placeholder.markdown(full_response)
 
256
  for chunk in stream:
257
  token = chunk.choices[0].delta.content
258
  if token is not None:
259
+ # full_response += token
260
+ full_response += token.replace("\n", " \n") \
261
+ .replace("$", "\$")
262
  # .replace("\[", "$$")
263
  placeholder.markdown(full_response)
264
  placeholder.markdown(full_response)