Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tastelikefeet committed Dec 27, 2024
1 parent 6542c54 commit 01b0412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swift/ui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')])
Expand Down

0 comments on commit 01b0412

Please sign in to comment.