PegaMichael commited on
Commit
4b76cde
·
1 Parent(s): 58d9501

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -6,10 +6,11 @@
6
 
7
  # Updated to account for UI changes from https://github.com/rkfg/audiocraft/blob/long/app.py
8
  # also released under the MIT license.
9
-
 
 
10
  import argparse
11
  from concurrent.futures import ProcessPoolExecutor
12
- import os
13
  from pathlib import Path
14
  import subprocess as sp
15
  from tempfile import NamedTemporaryFile
 
6
 
7
  # Updated to account for UI changes from https://github.com/rkfg/audiocraft/blob/long/app.py
8
  # also released under the MIT license.
9
+ import os
10
+ command = "pip install --upgrade pip; pip3 install --trusted-host pypi.python.org --no-cache-dir -r req.txt"
11
+ os.system(command)
12
  import argparse
13
  from concurrent.futures import ProcessPoolExecutor
 
14
  from pathlib import Path
15
  import subprocess as sp
16
  from tempfile import NamedTemporaryFile