csetanmayjain commited on
Commit
7fa5a65
1 Parent(s): cc66df2

Upload 3 files

Browse files
Files changed (3) hide show
  1. app.py +21 -0
  2. pre-requirements.txt +3 -0
  3. requirements.txt +21 -0
app.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import git
2
+ import os
3
+ import subprocess
4
+ import streamlit as st
5
+
6
+
7
+ @st.cache_resource
8
+ def init():
9
+ if not os.path.exists("zinglevoice"):
10
+ token = os.environ.get('TOKEN')
11
+ try:
12
+ git.Repo.clone_from("https://"+token+"@github.com/zinglebytes/zinglevoice.git", "zinglevoice")
13
+ subprocess.run("mv zinglevoice/* .",capture_output=True, text=True, shell=True)
14
+ except Exception as e:
15
+ print(e)
16
+ subprocess.run("rm -rf zinglevoice/*",capture_output=True, text=True, shell=True)
17
+ subprocess.run("mv zinglevoice/* .",capture_output=True, text=True, shell=True)
18
+
19
+ init()
20
+ import driver_code
21
+ driver_code.main()
pre-requirements.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ cython
2
+ numpy
3
+ typing_extensions
requirements.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ streamlit
2
+ streamlit-audiorec
3
+ IPython
4
+ sox
5
+ nemo-toolkit
6
+ pydub
7
+ nemo-asr
8
+ setuptools
9
+ hydra-core
10
+ pytorch_lightning
11
+ lhotse
12
+ webdataset
13
+ datasets
14
+ jiwer
15
+ pyannote.audio
16
+ transformers
17
+ pandas
18
+ sentencepiece
19
+ youtokentome
20
+ editdistance
21
+ google-api-python-client