fix webui
This commit is contained in:
1 parent
c0be617195
commit
1bfa70ce8e
1 file changed
+1
-1
@@ -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