Spaces:
Running
Running
Update app.py
Browse files
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)
|