Spaces:
Build error
Build error
SefyanKehail
commited on
Commit
·
9185c84
1
Parent(s):
6635d9e
hi
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ def train_model(epochs):
|
|
| 49 |
|
| 50 |
# Save the model checkpoint
|
| 51 |
torch.save(model.state_dict(), "simple_net.pth")
|
| 52 |
-
repo = Repository(local_dir="/")
|
| 53 |
repo.git_add(file_paths="simple_net.pth")
|
| 54 |
repo.git_commit("model checkpoint")
|
| 55 |
repo.git_push()
|
|
|
|
| 49 |
|
| 50 |
# Save the model checkpoint
|
| 51 |
torch.save(model.state_dict(), "simple_net.pth")
|
| 52 |
+
repo = Repository(local_dir="https://huggingface.co/spaces/Transduce/vc_demo_clean")
|
| 53 |
repo.git_add(file_paths="simple_net.pth")
|
| 54 |
repo.git_commit("model checkpoint")
|
| 55 |
repo.git_push()
|