Fix import path

This commit is contained in:
Galunid 2023-11-09 04:37:44 +01:00
parent c79c358550
commit 2789ad9392

View file

@ -19,7 +19,7 @@ if TYPE_CHECKING:
from torch import Tensor from torch import Tensor
if 'NO_LOCAL_GGUF' not in os.environ: if 'NO_LOCAL_GGUF' not in os.environ:
sys.path.insert(1, str(Path(__file__).parent / 'gguf-py' / 'gguf')) sys.path.insert(1, str(Path(__file__).parent / 'gguf-py'))
import gguf import gguf