capstonedubtrack
commited on
Commit
•
2c00bdf
1
Parent(s):
e06d9ec
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import os
|
|
2 |
import sys
|
3 |
import gradio as gr
|
4 |
|
|
|
5 |
os.system('git clone https://github.com/Rudrabha/Wav2Lip.git')
|
6 |
os.system('curl -o ./Wav2Lip/face_detection/detection/sfd/s3fd.pth https://www.adrianbulat.com/downloads/python-fan/s3fd-619a316812.pth')
|
7 |
os.system('pip3 install moviepy')
|
|
|
2 |
import sys
|
3 |
import gradio as gr
|
4 |
|
5 |
+
device = "cuda"
|
6 |
os.system('git clone https://github.com/Rudrabha/Wav2Lip.git')
|
7 |
os.system('curl -o ./Wav2Lip/face_detection/detection/sfd/s3fd.pth https://www.adrianbulat.com/downloads/python-fan/s3fd-619a316812.pth')
|
8 |
os.system('pip3 install moviepy')
|