bump openai

This commit is contained in:
DazedAnon 2024-12-07 11:29:30 -06:00
parent 2fd8a5bb07
commit f171dfda78
2 changed files with 3 additions and 2 deletions

View file

@ -284,6 +284,7 @@ def searchCodes(events, pbar, jobList, filename):
totalTokens = [0, 0]
translatedText = ""
speaker = ""
lastSpeaker = ""
nametag = ""
initialJAString = ""
global LOCK, NAMESLIST, MISMATCH, PBAR, FILENAME
@ -410,7 +411,7 @@ def searchCodes(events, pbar, jobList, filename):
codeList[i]["stringArgs"][1] = speaker
# Reuse Last Speaker
elif codeList[i]["intArgs"][0] == 500501 and lastSpeaker != "":
elif codeList[i]["intArgs"][0] == 500501 and lastSpeaker:
codeList[i]["stringArgs"] = ["", lastSpeaker]
codeList[i]["intArgs"] = [500529, 4112, 0]
speaker = lastSpeaker

View file

@ -1,5 +1,5 @@
colorama==0.4.6
openai==1.3.8
openai==1.57.0
python-dotenv==1.0.0
retry==0.9.2
ruamel.yaml==0.17.32