Spaces:
Sleeping
Sleeping
Pclanglais
commited on
Commit
•
846f47f
1
Parent(s):
00b2441
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,7 @@ import chromadb
|
|
12 |
import pandas as pd
|
13 |
from chromadb.config import Settings
|
14 |
from chromadb.utils import embedding_functions
|
|
|
15 |
|
16 |
model = BGEM3FlagModel('BAAI/bge-m3',
|
17 |
use_fp16=True) # Setting use_fp16 to True speeds up computation with a slight performance degradation
|
|
|
12 |
import pandas as pd
|
13 |
from chromadb.config import Settings
|
14 |
from chromadb.utils import embedding_functions
|
15 |
+
from FlagEmbedding import BGEM3FlagModel
|
16 |
|
17 |
model = BGEM3FlagModel('BAAI/bge-m3',
|
18 |
use_fp16=True) # Setting use_fp16 to True speeds up computation with a slight performance degradation
|