This commit is contained in:
hiyouga
2023-11-30 20:03:32 +08:00
parent 509abe8864
commit a38dbf55e3
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 {