use default n_threads

This commit is contained in:
Aaron Miller 2023-07-13 18:23:40 -04:00 committed by AT
parent 15f1fe5445
commit 936dcd2bfc

View File

@ -19,7 +19,7 @@ class Embed4All:
def __init__(
self
):
self.gpt4all = GPT4All(model_name='ggml-all-MiniLM-L6-v2-f16.bin', n_threads=8)
self.gpt4all = GPT4All(model_name='ggml-all-MiniLM-L6-v2-f16.bin')
def embed(
self,