Fix error in colored speakers

This commit is contained in:
Dazed 2024-02-18 16:09:58 -06:00
parent 62ed99b299
commit 1f975bd355
2 changed files with 5 additions and 8 deletions

View file

@ -845,7 +845,7 @@ def searchCodes(page, pbar, fillList, filename):
totalTokens[1] += response[1][1]
# Set Data
codeList[i]['p'][0] = jaString.replace(coloredSpeakerList[0], speaker)
codeList[i]['parameters'][0] = jaString.replace(coloredSpeakerList[0], speaker)
# Iterate to next string
i += 1
@ -2163,13 +2163,9 @@ def batchList(input_list, batch_size):
def createContext(fullPromptFlag, subbedT):
characters = 'Game Characters:\n\
メミミ (Memimi) - Female\n\
バニーちゃん (Bunny-chan) - Female\n\
ブラキオコンドル (Brachiocondor) - Male\n\
サメブロッコリー (Shark Broccoli) - Male\n\
シャチアスパラガス (Orca Asparagus) - Male\n\
ドリルマメイド (Drillmaid) - Male\n\
ケルベロスオクトパス (Cerburus Octopus) - Male\n\
レイシア (Reisha) - Female\n\
アカネ (Akane) - Female\n\
王女ソアラ (Princess Soara) - Female\n\
'
system = PROMPT + VOCAB if fullPromptFlag else \

View file

@ -39,4 +39,5 @@ Here are some vocabulary and terms so that you know the proper spelling and tran
ME 音量 (ME Volume)
# Other
ニアレイク (Near Lake)
```