Skip to content

Commit 6b80516

Browse files
committed
fix: minor fixes
1 parent ee2e05e commit 6b80516

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flowsettings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from pathlib import Path
55

66
from decouple import config
7+
from ktem.utils.lang import SUPPORTED_LANGUAGE_MAP
78
from theflow.settings.default import * # noqa
89

910
cur_frame = currentframe()
@@ -284,7 +285,7 @@
284285
"lang": {
285286
"name": "Language",
286287
"value": "en",
287-
"choices": [("English", "en"), ("Japanese", "ja"), ("Vietnamese", "vi")],
288+
"choices": [(lang, code) for code, lang in SUPPORTED_LANGUAGE_MAP.items()],
288289
"component": "dropdown",
289290
},
290291
"max_context_length": {

0 commit comments

Comments
 (0)