Former-commit-id: f28a1a0c1cdd0062ad7b6c2826f8ec107a200cff
This commit is contained in:
hiyouga
2024-01-21 12:34:17 +08:00
parent a39ac2f4f9
commit b96c2e4e6a
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)