Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ class UNetWrapper:
|
|
68 |
# Create a repository if it doesn't exist
|
69 |
create_repo(self.repo_id, exist_ok=True,token=self.token)
|
70 |
# Push the model's state dict to the Hugging Face Hub
|
71 |
-
self.model.save_pretrained(self.repo_id) # You may need to implement this method
|
72 |
|
73 |
|
74 |
# Training function
|
|
|
68 |
# Create a repository if it doesn't exist
|
69 |
create_repo(self.repo_id, exist_ok=True,token=self.token)
|
70 |
# Push the model's state dict to the Hugging Face Hub
|
71 |
+
self.model.save_pretrained(self.repo_id,token=self.token) # You may need to implement this method
|
72 |
|
73 |
|
74 |
# Training function
|