🔒 chore(pyproject.toml): update huggingface-hub version to "^0.16.0" and add "inference" extra to improve compatibility and functionality
🔥 refactor(pyproject.toml): remove unnecessary dependencies from the "local" extra to simplify the project configuration
This commit is contained in:
parent
260e8c7f02
commit
de110151be
2 changed files with 108 additions and 414 deletions
513
poetry.lock
generated
513
poetry.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -37,7 +37,7 @@ langchain = "^0.0.237"
|
|||
openai = "^0.27.8"
|
||||
pandas = "^2.0.0"
|
||||
chromadb = "^0.3.21"
|
||||
huggingface-hub = { version = "^0.15.0", optional = true }
|
||||
huggingface-hub = { version = "^0.16.0", extras = ["inference"] }
|
||||
rich = "^13.4.2"
|
||||
llama-cpp-python = { version = "~0.1.0", optional = true }
|
||||
networkx = "^3.1"
|
||||
|
|
@ -94,12 +94,7 @@ types-pyyaml = "^6.0.12.8"
|
|||
|
||||
[tool.poetry.extras]
|
||||
deploy = ["langchain-serve"]
|
||||
local = [
|
||||
"llama-cpp-python",
|
||||
"sentence-transformers",
|
||||
"ctransformers",
|
||||
"huggingface-hub",
|
||||
]
|
||||
local = ["llama-cpp-python", "sentence-transformers", "ctransformers"]
|
||||
all = ["deploy", "local"]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue