Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
import anything
  • Loading branch information
sonam-pankaj95 authored Apr 15, 2024
1 parent 240b147 commit bb03980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pip install embed-anything`
### To use local embedding: we support Bert and Jina

```python
from embed_anything import *
import embed_anything
data = embed_anything.embed_file("filename.pdf", embeder= "Bert")
embeddings = np.array([data.embedding for data in data])
```
Expand All @@ -53,7 +53,7 @@ embeddings = np.array([data.embedding for data in data])
### Requirements Directory with pictures you want to search for example we have test_files with images of cat, dogs etc

```python
from embed_anything import *
import embed_anything
data = embed_anything.embed_directory("test_files", embeder= "Clip")
embeddings = np.array([data.embedding for data in data])

Expand Down

0 comments on commit bb03980

Please sign in to comment.