Former-commit-id: 06d56696731eadbeeea615eae4efce1b6c36def4
This commit is contained in:
hiyouga
2023-11-30 20:03:32 +08:00
parent 7ef8f46591
commit 664267e050
4 changed files with 20 additions and 19 deletions

View File

@@ -49,7 +49,10 @@ class Engine:
else:
yield self._form_dict({"eval.resume_btn": {"value": True}})
else:
yield self._form_dict({"train.output_dir": {"value": get_time()}})
yield self._form_dict({
"train.output_dir": {"value": "train_" + get_time()},
"eval.output_dir": {"value": "eval_" + get_time()},
})
def change_lang(self, lang: str) -> Dict[Component, Dict[str, Any]]:
return {