mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-09-18 08:09:49 +00:00
Update settings.py
Lines 154-157 added again as commented.
This commit is contained in:
@@ -151,6 +151,10 @@ class HuggingFaceSettings(BaseModel):
|
||||
embedding_hf_model_name: str = Field(
|
||||
description="Name of the HuggingFace model to use for embeddings"
|
||||
)
|
||||
access_token: str = Field(
|
||||
None,
|
||||
description="Huggingface access token, required to download some models",
|
||||
)
|
||||
|
||||
|
||||
class EmbeddingSettings(BaseModel):
|
||||
|
Reference in New Issue
Block a user