This commit is contained in:
恍兮惚兮 2024-07-25 21:08:02 +08:00
parent 7c65003ae6
commit b07402ef9b

View File

@ -3,6 +3,24 @@ import time, os
class commonllmdev(basetransdev):
def langmap(self):
return {
"zh": "Simplified Chinese",
"ja": "Japanese",
"en": "English",
"ru": "Russian",
"es": "Spanish",
"ko": "Korean",
"fr": "French",
"cht": "Traditional Chinese",
"vi": "Vietnamese",
"tr": "Turkish",
"pl": "Polish",
"uk": "Ukrainian",
"it": "Italian",
"ar": "Arabic",
"th": "Thai",
}
def injectjs(self):
with open(