capstonedubtrack
commited on
Commit
•
74f54b9
1
Parent(s):
0db5ebc
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def inference(language,speed,voice,video ):
|
|
63 |
tts = gTTS(translation.text, lang= "hi")
|
64 |
tts.save('input_audio.wav')
|
65 |
os.system('mv ./Wav2Lip/* .')
|
66 |
-
os.system('
|
67 |
os.system("python inference.py --checkpoint_path ./wav2lip_gan.pth --video {} --input_audio.wav".format(video))
|
68 |
return "./results/result_voice.mp4"
|
69 |
|
|
|
63 |
tts = gTTS(translation.text, lang= "hi")
|
64 |
tts.save('input_audio.wav')
|
65 |
os.system('mv ./Wav2Lip/* .')
|
66 |
+
os.system('pip3 install -r requirements.txt')
|
67 |
os.system("python inference.py --checkpoint_path ./wav2lip_gan.pth --video {} --input_audio.wav".format(video))
|
68 |
return "./results/result_voice.mp4"
|
69 |
|