randydev commited on
Commit
8e143f4
·
1 Parent(s): fb9b3f6

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -675,8 +675,8 @@ def chatgpt4_turbo(
675
  else:
676
  for token in chat_completion:
677
  content = token["choices"][0]["delta"].get("content")
678
- if content is not None:
679
- return SuccessResponse(
680
  status="True",
681
  randydev={"message": content}
682
  )
 
675
  else:
676
  for token in chat_completion:
677
  content = token["choices"][0]["delta"].get("content")
678
+ if content is not None:
679
+ return SuccessResponse(
680
  status="True",
681
  randydev={"message": content}
682
  )