capstonedubtrack
commited on
Commit
•
de3f339
1
Parent(s):
74f54b9
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,6 @@ 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('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 |
|
|
|
63 |
tts = gTTS(translation.text, lang= "hi")
|
64 |
tts.save('input_audio.wav')
|
65 |
os.system('mv ./Wav2Lip/* .')
|
|
|
66 |
os.system("python inference.py --checkpoint_path ./wav2lip_gan.pth --video {} --input_audio.wav".format(video))
|
67 |
return "./results/result_voice.mp4"
|
68 |
|