소스 검색

feat: Make gpt4all work offline. (#1099)

Taranjeet Singh 1 년 전
부모
커밋
dd258c14b5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      embedchain/llm/gpt4all.py

+ 1 - 1
embedchain/llm/gpt4all.py

@@ -29,7 +29,7 @@ class GPT4ALLLlm(BaseLlm):
                 "The GPT4All python package is not installed. Please install it with `pip install --upgrade embedchain[opensource]`"  # noqa E501
             ) from None
 
-        return LangchainGPT4All(model=model, allow_download=True)
+        return LangchainGPT4All(model=model)
 
     def _get_answer(self, prompt: str, config: BaseLlmConfig) -> Union[str, Iterable]:
         if config.model and config.model != self.config.model: