Former-commit-id: 3c1e256992
This commit is contained in:
hiyouga
2024-01-21 12:34:17 +08:00
parent 14a348d458
commit 0896d1a1d6
2 changed files with 275 additions and 163 deletions

View File

@@ -16,7 +16,7 @@ def create_top() -> Dict[str, "Component"]:
available_models = list(SUPPORTED_MODELS.keys()) + ["Custom"]
with gr.Row():
lang = gr.Dropdown(choices=["en","ru", "zh"], scale=1)
lang = gr.Dropdown(choices=["en", "ru", "zh"], scale=1)
model_name = gr.Dropdown(choices=available_models, scale=3)
model_path = gr.Textbox(scale=3)