mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-29 18:20:35 +08:00
[webui] fix abort finish (#8569)
This commit is contained in:
@@ -444,7 +444,7 @@ class Runner:
|
||||
except TimeoutExpired:
|
||||
continue
|
||||
|
||||
if return_code == 0:
|
||||
if return_code == 0 or self.aborted:
|
||||
finish_info = ALERTS["info_finished"][lang]
|
||||
if self.do_train:
|
||||
finish_log = ALERTS["info_finished"][lang] + "\n\n" + running_log
|
||||
|
||||
Reference in New Issue
Block a user