Alignment-Lab-AI commited on
Commit
9678793
1 Parent(s): 5c61e32

Upload create-env.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. create-env.sh +20 -0
create-env.sh ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Create a Python 3.10 virtual environment named "autodiarize"
4
+ python3.10 -m venv autodiarize
5
+
6
+ # Activate the virtual environment
7
+ source autodiarize/bin/activate
8
+
9
+ apt update && upgrade
10
+
11
+ apt install ffmpeg
12
+
13
+ apt-get update && apt-get install -y libsndfile1 ffmpeg
14
+ pip install Cython
15
+ pip install nemo_toolkit['all']
16
+ pip install wget
17
+ pip install srt
18
+ pip install "-e git+https://github.com/m-bain/whisperX@78dcfaab51005aa703ee21375f81ed31bc248560#egg=whisperx"
19
+ pip install -r requirements.txt
20
+ pip install yt_dlp