diff --git a/whispercpp.pyx b/whispercpp.pyx
index b5b43b2..86da444 100644
--- a/whispercpp.pyx
+++ b/whispercpp.pyx
@@ -9,7 +9,7 @@ import requests
 import os
 from pathlib import Path
 
-MODELS_DIR = Path('~/ggml-models').expanduser()
+MODELS_DIR = str(Path('~/ggml-models').expanduser())
 
 
 cimport numpy as cnp