Space-Face commited on
Commit
beb66ff
1 Parent(s): 54ec371

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -11,7 +11,7 @@ class AIEndpoint:
11
  answer = user.chat.ask(message, stream=True)
12
  r=""
13
  for token in answer:
14
- if token:
15
  r+=token.token.replace("\n", "\\n")
16
  if time.time() - responder.cooldown >= 0.5:
17
  responder.respond(r)
 
11
  answer = user.chat.ask(message, stream=True)
12
  r=""
13
  for token in answer:
14
+ if token.token:
15
  r+=token.token.replace("\n", "\\n")
16
  if time.time() - responder.cooldown >= 0.5:
17
  responder.respond(r)