mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-14 19:06:26 +08:00
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user