wissamantoun commited on
Commit
0c075a9
1 Parent(s): 40874a6
Files changed (2) hide show
  1. backend/utils.py +4 -2
  2. packages.txt +1 -1
backend/utils.py CHANGED
@@ -18,6 +18,8 @@ def download_models(models):
18
 
19
 
20
  def install_git_lfs():
21
-
22
- os.system("chmod -R 777 /home/user/app/.git/hooks/")
 
 
23
  os.system("git lfs install")
 
18
 
19
 
20
  def install_git_lfs():
21
+ os.system(
22
+ "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
23
+ )
24
+ os.system("apt-get install git-lfs")
25
  os.system("git lfs install")
packages.txt CHANGED
@@ -1,2 +1,2 @@
1
  openjdk-11-jre
2
- git-lfs
 
1
  openjdk-11-jre
2
+ curl