Spaces:
Runtime error
Runtime error
cspocketindia
commited on
Commit
•
48ab7e5
1
Parent(s):
97c6e14
added pull before push
Browse files- gradio_app.py +1 -0
gradio_app.py
CHANGED
@@ -60,6 +60,7 @@ def predict(sentence):
|
|
60 |
def sync_logs():
|
61 |
print(f"Repo Clean: {repo.is_repo_clean()}")
|
62 |
if not repo.is_repo_clean():
|
|
|
63 |
repo.git_add()
|
64 |
repo.git_commit()
|
65 |
result = repo.git_push()
|
|
|
60 |
def sync_logs():
|
61 |
print(f"Repo Clean: {repo.is_repo_clean()}")
|
62 |
if not repo.is_repo_clean():
|
63 |
+
repo.git_pull(lfs=True)
|
64 |
repo.git_add()
|
65 |
repo.git_commit()
|
66 |
result = repo.git_push()
|