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

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -13,7 +13,7 @@ class AIEndpoint:
13
  for token in answer:
14
  if token:
15
  r+=token.token.replace("\n", "\\n")
16
- if time.time() - self.cooldown >= 0.5:
17
  responder.respond(r)
18
  r=""
19
  responder.close()
 
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)
18
  r=""
19
  responder.close()