mirror of
https://github.com/storytold/FineTrainers-Conditioning.git
synced 2026-11-24 19:10:51 +01:00
fixes
This commit is contained in:
1 parent
69b585a992
commit
d7aa50917f
1 file changed
+1
-1
@@ -954,7 +954,7 @@ class Trainer:
|
||||
|
||||
if self.args.push_to_hub:
|
||||
repo_id = self.args.hub_model_id or Path(self.args.output_dir).name
|
||||
self.state.repo_id = create_repo(token=self.args.hub_token, name=repo_id).repo_id
|
||||
self.state.repo_id = create_repo(token=self.args.hub_token, repo_id=repo_id).repo_id
|
||||
|
||||
def _move_components_to_device(self):
|
||||
if self.text_encoder is not None:
|
||||
|
||||
Reference in new issue
Block a user