mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-04 12:42:51 +08:00
tiny fix
Former-commit-id: 396fd4794735f2315e75cfe82b095591d58bb021
This commit is contained in:
parent
72f7ec38db
commit
82f26bc959
@ -38,8 +38,8 @@ class Engine:
|
||||
|
||||
yield self._form_dict(init_dict)
|
||||
|
||||
if not self.pure_chat and not self.demo_mode:
|
||||
if self.runner.alive:
|
||||
if not self.pure_chat:
|
||||
if self.runner.alive and not self.demo_mode:
|
||||
yield {elem: gr.update(value=value) for elem, value in self.runner.running_data.items()}
|
||||
if self.runner.do_train:
|
||||
yield self._form_dict({"train.resume_btn": {"value": True}})
|
||||
|
Loading…
x
Reference in New Issue
Block a user