Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
•
946d2bd
1
Parent(s):
dbdff1c
Update model.py
Browse files- src/models/model.py +3 -0
src/models/model.py
CHANGED
@@ -574,3 +574,6 @@ class Summarization:
|
|
574 |
""".strip()
|
575 |
|
576 |
(Path(model_repo.local_dir) / "README.md").write_text(readme_txt)
|
|
|
|
|
|
|
|
574 |
""".strip()
|
575 |
|
576 |
(Path(model_repo.local_dir) / "README.md").write_text(readme_txt)
|
577 |
+
self.save_model()
|
578 |
+
commit_url = model_repo.push_to_hub()
|
579 |
+
|