barryle commited on
Commit
2d820f4
1 Parent(s): 97b4616
Files changed (1) hide show
  1. networks/message_streamer.py +1 -0
networks/message_streamer.py CHANGED
@@ -29,6 +29,7 @@ class MessageStreamer:
29
  line = re.sub(r"data:\s*", "", line)
30
  data = json.loads(line)
31
  content = data["token"]["text"]
 
32
  return content
33
 
34
  def chat(
 
29
  line = re.sub(r"data:\s*", "", line)
30
  data = json.loads(line)
31
  content = data["token"]["text"]
32
+ print("token", content)
33
  return content
34
 
35
  def chat(