JohanDL commited on
Commit
d45d243
1 Parent(s): aab8da7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -18,6 +18,9 @@ def process_repository(url, model):
18
  if repo_name.endswith('.git'):
19
  repo_name = repo_name[:-4]
20
 
 
 
 
21
  # Clone the repo
22
  subprocess.run(['git', 'clone', url], check=True)
23
 
 
18
  if repo_name.endswith('.git'):
19
  repo_name = repo_name[:-4]
20
 
21
+ # Change permissions
22
+ subprocess.run(['chmod', 'u+w', '.'])
23
+
24
  # Clone the repo
25
  subprocess.run(['git', 'clone', url], check=True)
26