Irina Tolstykh commited on
Commit
5348900
1 Parent(s): 85e6850

install script

Browse files
Files changed (2) hide show
  1. app.py +1 -2
  2. install.sh +2 -0
app.py CHANGED
@@ -5,8 +5,7 @@ import shlex
5
  import subprocess
6
 
7
  if os.getenv('SYSTEM') == 'spaces':
8
- git_repo = "https://github.com/WildChlamydia/MiVOLO.git"
9
- subprocess.call(shlex.split(f'pip install git+{git_repo}'))
10
 
11
  import pathlib
12
  import os
 
5
  import subprocess
6
 
7
  if os.getenv('SYSTEM') == 'spaces':
8
+ subprocess.call(shlex.split(f'bash install.sh'))
 
9
 
10
  import pathlib
11
  import os
install.sh ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ git config --global --unset https.proxy
2
+ pip install git+https://github.com/WildChlamydia/MiVOLO.git