Spaces:
Sleeping
Sleeping
Update train_model.py
Browse files- train_model.py +1 -1
train_model.py
CHANGED
@@ -139,7 +139,7 @@ def main():
|
|
139 |
tokenizer.save_pretrained(output_dir)
|
140 |
|
141 |
# Push to Hugging Face Hub
|
142 |
-
model_repo = f"
|
143 |
try:
|
144 |
api.create_repo(repo_id=model_repo, private=False, token=hf_token)
|
145 |
except Exception as e:
|
|
|
139 |
tokenizer.save_pretrained(output_dir)
|
140 |
|
141 |
# Push to Hugging Face Hub
|
142 |
+
model_repo = f"Vishwas1/{args.model_name}" # Replace 'your-username' with your actual username
|
143 |
try:
|
144 |
api.create_repo(repo_id=model_repo, private=False, token=hf_token)
|
145 |
except Exception as e:
|