summaryrefslogtreecommitdiffstats
path: root/Scripts/requirements.txt
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-05-30 19:01:56 -0700
committeryum <yum.food.vr@gmail.com>2023-05-30 19:13:25 -0700
commit0bda49279ec80187d49a922ff2a47141ffb2fd8f (patch)
treebd2521c2b2cdca422eb94e1dbef7c85e8dcefe4b /Scripts/requirements.txt
parent84f09e1fdf15644d1ea5f955889581932e4f6a8e (diff)
Finish translation for Western European language speakersv0.12.0
NLLB needs its input to be split up into sentences. I use the sentence_splitter Python package to do this. It supports ~20 Western European languages, but notably, no Asian languages. * Sort spoken language list. English is still at the top. * Remove 'Translation source' dropdown. Infer this from the spoken language. * Add lang_compat.py to map language codes between the various libraries (whisper, nllb, sentence_splitter). * Fix bug where old text would appear in textbox when you first bring it up.
Diffstat (limited to 'Scripts/requirements.txt')
-rw-r--r--Scripts/requirements.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Scripts/requirements.txt b/Scripts/requirements.txt
index 5500a91..647e942 100644
--- a/Scripts/requirements.txt
+++ b/Scripts/requirements.txt
@@ -11,4 +11,5 @@ pyaudio
python-osc
playsound==1.2.2
pyyaml
+sentence_splitter
transformers>=4.21.0