[Bugfix] Fix hugging face command (#944)
This commit is contained in:
@@ -237,7 +237,7 @@ llm:
|
|||||||
Install related dependencies using the following command:
|
Install related dependencies using the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install --upgrade 'embedchain[huggingface_hub]'
|
pip install --upgrade 'embedchain[huggingface-hub]'
|
||||||
```
|
```
|
||||||
|
|
||||||
First, set `HUGGINGFACE_ACCESS_TOKEN` in environment variable which you can obtain from [their platform](https://huggingface.co/settings/tokens).
|
First, set `HUGGINGFACE_ACCESS_TOKEN` in environment variable which you can obtain from [their platform](https://huggingface.co/settings/tokens).
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ class HuggingFaceLlm(BaseLlm):
|
|||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
raise ModuleNotFoundError(
|
raise ModuleNotFoundError(
|
||||||
"The required dependencies for HuggingFaceHub are not installed."
|
"The required dependencies for HuggingFaceHub are not installed."
|
||||||
'Please install with `pip install --upgrade "embedchain[huggingface_hub]"`'
|
'Please install with `pip install --upgrade "embedchain[huggingface-hub]"`'
|
||||||
) from None
|
) from None
|
||||||
|
|
||||||
super().__init__(config=config)
|
super().__init__(config=config)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "embedchain"
|
name = "embedchain"
|
||||||
version = "0.1.7"
|
version = "0.1.8"
|
||||||
description = "Data platform for LLMs - Load, index, retrieve and sync any unstructured data"
|
description = "Data platform for LLMs - Load, index, retrieve and sync any unstructured data"
|
||||||
authors = [
|
authors = [
|
||||||
"Taranjeet Singh <taranjeet@embedchain.ai>",
|
"Taranjeet Singh <taranjeet@embedchain.ai>",
|
||||||
|
|||||||
Reference in New Issue
Block a user