Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ diarize_x86_64_gernophil
diarize_x86_64_gernophil_unsigned
diarize_x86_64_mod
diarize_x86_64_mod_unsigned

.python-version
2 changes: 1 addition & 1 deletion diarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __call__(
if platform.system() == 'Windows':
pipeline = Pipeline.from_pretrained(os.path.join(app_dir, 'models', 'pyannote_config.yaml'))
pipeline.to(torch.device(device))
elif platform.system() == "Darwin": # = MAC
elif platform.system() in ("Darwin", "Linux"): # = MAC
if device == 'mps' and not torch.backends.mps.is_available(): # should only happen on x86_64, but checked on all archs to be sure
device = 'cpu'
print("log: 'pyannote_xpu: mps' was selected, but mps is not available on this system!")
Expand Down
10 changes: 10 additions & 0 deletions environments/requirements-linux.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
customtkinter
Pillow
PyYAML
appdirs
AdvancedHTMLParser
elevate
python-i18n
pyannote.audio @ git+https://github.com/kaixxx/pyannote-audio.git
faster-whisper
pyinstaller
Loading