K00B404 commited on
Commit
911fc05
·
verified ·
1 Parent(s): 27e8531

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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