Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
g-hano committed Sep 24, 2024
1 parent 3ad0590 commit 34b6fe4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Author of that Integration [GitHub](https://github.com/g-hano) | [LinkedIn](http
## Installation

```bash
pip install llama-index transformers torch pillow
pip install llama-index-multi-modal-llms-huggingface
```

Make sure to set your Hugging Face API token as an environment variable:
Expand All @@ -34,7 +34,7 @@ export HF_TOKEN=your_huggingface_token_here
Here's a basic example of how to use the Hugging Face multimodal integration:

```python
from llama_index.multi_modal_llms import HuggingFaceMultiModal
from llama_index.multi_modal_llms.huggingface import HuggingFaceMultiModal
from llama_index.schema import ImageDocument

# Initialize the model
Expand Down

0 comments on commit 34b6fe4

Please sign in to comment.