fix webui cache

Former-commit-id: 9aba5c197fbc8abaab77f454374f8b497f0310d0
This commit is contained in:
hiyouga
2023-08-14 11:37:01 +08:00
parent d74ab5306c
commit 70a780c3c0
2 changed files with 3 additions and 3 deletions

View File

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