File size: 725 Bytes
eeb01ec
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d51a666
eeb01ec
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Create and activate conda environment
conda create -y -n translatube python=3.11
conda activate translatube

<!-- # Install whisper (speech to text)
pip install git+https://github.com/openai/whisper.git
sudo apt update && sudo apt install ffmpeg

# Install bark (text to speech)
pip install git+https://github.com/suno-ai/bark.git -->

# Install seamlessM4t (translate)
pip install fairseq2
pip install git+https://github.com/facebookresearch/seamless_communication
pip install gradio
pip install huggingface-hub
pip install torch
pip install torchaudio
<!-- pip install pysndfile==1.0.0 -->
mamba install -y -c conda-forge libsndfile==1.0.31 pyperclip ipywidgets

# Download videos
pip install twitch-dl
pip install pytube