From 01b0412ef8d17b2e50ff50d084afa90e71e5097a Mon Sep 17 00:00:00 2001 From: tastelikefeet Date: Fri, 27 Dec 2024 10:37:45 +0800 Subject: [PATCH] fix --- swift/ui/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swift/ui/app.py b/swift/ui/app.py index 92d87e5a4..a469aa1ee 100644 --- a/swift/ui/app.py +++ b/swift/ui/app.py @@ -93,7 +93,7 @@ def run(self): value = getattr(self.args, f.name) if isinstance(value, list): value = ' '.join([v or '' for v in value]) - LLMInfer.elements()[f.name].value = value + LLMInfer.elements()[f.name].value = str(value) app.load(LLMInfer.deploy_model, list(LLMInfer.valid_elements().values()), [LLMInfer.element('runtime_tab'), LLMInfer.element('running_tasks')])