Skip to content

Commit

Permalink
[TASK] Add frozendict library
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharrnah committed Jul 10, 2024
1 parent 03d7d16 commit c28193d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion audioWhisper.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ binaries = []
# Collect dynamic libraries from onnxruntime
binaries= collect_dynamic_libs('onnxruntime', destdir='onnxruntime/capi')

hiddenimports = ['torch', 'pytorch', 'torchaudio.lib.libtorchaudio', 'scipy.signal', 'transformers.models.nllb', 'sentencepiece', 'df.deepfilternet3', 'bitsandbytes', 'faiss', 'faiss-cpu', 'praat-parselmouth', 'parselmouth', 'pyworld', 'torchcrepe', 'grpcio', 'grpc', 'annotated_types', 'Cython', 'nemo_toolkit', 'nemo', 'speechbrain', 'pyannote', 'pyannote.audio', 'pyannote.pipeline', 'noisereduce']
hiddenimports = ['torch', 'pytorch', 'torchaudio.lib.libtorchaudio', 'scipy.signal', 'transformers.models.nllb', 'sentencepiece', 'df.deepfilternet3', 'bitsandbytes', 'faiss', 'faiss-cpu', 'praat-parselmouth', 'parselmouth', 'pyworld', 'torchcrepe', 'grpcio', 'grpc', 'annotated_types', 'Cython', 'nemo_toolkit', 'nemo', 'speechbrain', 'pyannote', 'pyannote.audio', 'pyannote.pipeline', 'noisereduce', 'frozendict']
datas += collect_data_files('torch')
datas += collect_data_files('whisper')
datas += collect_data_files('pykakasi')
Expand Down Expand Up @@ -108,6 +108,8 @@ tmp_ret = collect_all('pyannote.pipeline')
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]
tmp_ret = collect_all('noisereduce')
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]
tmp_ret = collect_all('frozendict')
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]

workdir = os.environ.get('WORKDIR_WIN', r'\drone\src')
workdir = "C:" + workdir # Now workdir = "C:\drone\src"
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ winsdk>=1.0.0b9
keyboard>=0.13.5
grpcio==1.59.3
annotated_types==0.6.0
# for ChatTTS plugin
frozendict==2.4.4

# speaker diarization
pyannote.audio==3.2.0
Expand Down

0 comments on commit c28193d

Please sign in to comment.