capstonedubtrack
commited on
Commit
•
abc4e58
1
Parent(s):
f191697
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,13 @@ 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('
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
title = "Automatic translation and dubbing for Indic Languages"
|
10 |
description = "A demo application to dub and translate videos spoken in Tamil, Hindi, Bengali and Telugu"
|
|
|
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('pip install moviepy')
|
8 |
+
os.system('pip install speechRecognition')
|
9 |
+
os.system('pip install gtts')
|
10 |
+
os.system('pip install googletrans==3.1.0a0')
|
11 |
+
os.system('pip install pydub')
|
12 |
+
os.system('pip3 install transformers==4.11.3 soundfile sentencepiece torchaudio librosa')
|
13 |
+
os.system('mv ./Wav2Lip/* .')
|
14 |
|
15 |
title = "Automatic translation and dubbing for Indic Languages"
|
16 |
description = "A demo application to dub and translate videos spoken in Tamil, Hindi, Bengali and Telugu"
|