From b45a6011193f81cf64859c990faf7440af5e7022 Mon Sep 17 00:00:00 2001 From: Jaikinator Date: Fri, 26 Jan 2024 15:56:10 +0100 Subject: [PATCH] fixed path --- scraibe/diarisation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scraibe/diarisation.py b/scraibe/diarisation.py index c62bda0..570ac29 100644 --- a/scraibe/diarisation.py +++ b/scraibe/diarisation.py @@ -227,6 +227,8 @@ class Diariser: "Trying to find it nearby the config file.") pwd = model.split("/")[:-1] + pwd = "/".join(pwd) + path_to_model = os.path.join(pwd, "pytorch_model.bin") if not os.path.exists(path_to_model):