Spaces:
AIMan2001
/
Runtime error

r3gm commited on
Commit
9535817
1 Parent(s): c47eb43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -9,6 +9,7 @@ os.environ["no_proxy"] = "localhost, 127.0.0.1, ::1"
9
 
10
  # Download models
11
  shell_script = './tools/dlmodels.sh'
 
12
 
13
  try:
14
  return_code = os.system(shell_script)
 
9
 
10
  # Download models
11
  shell_script = './tools/dlmodels.sh'
12
+ os.system(f'chmod +x {shell_script}')
13
 
14
  try:
15
  return_code = os.system(shell_script)