mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-04 04:32:50 +08:00
fix webui
Former-commit-id: 1bfa70ce8eca408fb15e63fd60422aa7b7233d12
This commit is contained in:
parent
3787d13816
commit
72f7ec38db
@ -38,7 +38,7 @@ class Engine:
|
|||||||
|
|
||||||
yield self._form_dict(init_dict)
|
yield self._form_dict(init_dict)
|
||||||
|
|
||||||
if not self.pure_chat:
|
if not self.pure_chat and not self.demo_mode:
|
||||||
if self.runner.alive:
|
if self.runner.alive:
|
||||||
yield {elem: gr.update(value=value) for elem, value in self.runner.running_data.items()}
|
yield {elem: gr.update(value=value) for elem, value in self.runner.running_data.items()}
|
||||||
if self.runner.do_train:
|
if self.runner.do_train:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user