Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,8 @@ def run(token: str, model_id: str) -> str:
|
|
35 |
print("[commit_info]", commit_info)
|
36 |
|
37 |
# save in a (public) dataset:
|
38 |
-
|
|
|
39 |
repo.git_pull(rebase=True)
|
40 |
print("pulled")
|
41 |
with open(DATA_FILE, "a") as csvfile:
|
|
|
35 |
print("[commit_info]", commit_info)
|
36 |
|
37 |
# save in a (public) dataset:
|
38 |
+
# TODO False because of LFS bug.
|
39 |
+
if False and repo is not None and not is_private:
|
40 |
repo.git_pull(rebase=True)
|
41 |
print("pulled")
|
42 |
with open(DATA_FILE, "a") as csvfile:
|