EC2 Default User
commited on
Commit
·
c91e7da
1
Parent(s):
cb40fe8
Fixing requirements.txt
Browse files- installation.py +3 -3
- requirements.txt +2 -0
installation.py
CHANGED
|
@@ -12,7 +12,6 @@ is_first_time = True
|
|
| 12 |
|
| 13 |
#Install dependency
|
| 14 |
# Download pretrained model
|
| 15 |
-
|
| 16 |
# Get the current working directory
|
| 17 |
parent_dir = os.getcwd()
|
| 18 |
print(parent_dir)
|
|
@@ -29,7 +28,7 @@ if is_first_time:
|
|
| 29 |
print("Directory '% s'was already created" % directory)
|
| 30 |
if is_first_time:
|
| 31 |
os.system('git clone https://github.com/Rudrabha/Wav2Lip')
|
| 32 |
-
os.system('cd Wav2Lip &&{} pip install -r requirements.txt'.format(env))
|
| 33 |
## Load the models one by one.
|
| 34 |
print("Preparing the models of Wav2Lip")
|
| 35 |
ensure_default_models(Path("Wav2Lip"))
|
|
@@ -44,4 +43,5 @@ if is_first_time:
|
|
| 44 |
os.system('{} pip install opencv-contrib-python-headless==4.1.2.30'.format(env))
|
| 45 |
os.system('{} pip install IPython==7.32.0'.format(env))
|
| 46 |
print("Installation repositories DONE!!")
|
| 47 |
-
#tqdm>=4.62.1
|
|
|
|
|
|
| 12 |
|
| 13 |
#Install dependency
|
| 14 |
# Download pretrained model
|
|
|
|
| 15 |
# Get the current working directory
|
| 16 |
parent_dir = os.getcwd()
|
| 17 |
print(parent_dir)
|
|
|
|
| 28 |
print("Directory '% s'was already created" % directory)
|
| 29 |
if is_first_time:
|
| 30 |
os.system('git clone https://github.com/Rudrabha/Wav2Lip')
|
| 31 |
+
#os.system('cd Wav2Lip &&{} pip install -r requirements.txt'.format(env))
|
| 32 |
## Load the models one by one.
|
| 33 |
print("Preparing the models of Wav2Lip")
|
| 34 |
ensure_default_models(Path("Wav2Lip"))
|
|
|
|
| 43 |
os.system('{} pip install opencv-contrib-python-headless==4.1.2.30'.format(env))
|
| 44 |
os.system('{} pip install IPython==7.32.0'.format(env))
|
| 45 |
print("Installation repositories DONE!!")
|
| 46 |
+
#tqdm>=4.62.1
|
| 47 |
+
|
requirements.txt
CHANGED
|
@@ -5,3 +5,5 @@ torchvision==0.3.0
|
|
| 5 |
tqdm>=4.62.1
|
| 6 |
numba==0.48
|
| 7 |
opencv-contrib-python-headless==4.1.2.30
|
|
|
|
|
|
|
|
|
| 5 |
tqdm>=4.62.1
|
| 6 |
numba==0.48
|
| 7 |
opencv-contrib-python-headless==4.1.2.30
|
| 8 |
+
opencv-python=>4.1.0.25
|
| 9 |
+
|