diff --git a/swift/ui/app.py b/swift/ui/app.py index 3de542210..e0070bb10 100644 --- a/swift/ui/app.py +++ b/swift/ui/app.py @@ -95,7 +95,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) args = copy(self.args) args.port = find_free_port()