Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
|
@@ -74,7 +74,7 @@ class CustomHuggingFaceInferenceAPIEmbeddings(HuggingFaceInferenceAPIEmbeddings)
|
|
| 74 |
embeddings = CustomHuggingFaceInferenceAPIEmbeddings(
|
| 75 |
api_key=hf_api_key,
|
| 76 |
model_name="BAAI/bge-large-en-v1.5",
|
| 77 |
-
|
| 78 |
)
|
| 79 |
|
| 80 |
# Initialize session state
|
|
|
|
| 74 |
embeddings = CustomHuggingFaceInferenceAPIEmbeddings(
|
| 75 |
api_key=hf_api_key,
|
| 76 |
model_name="BAAI/bge-large-en-v1.5",
|
| 77 |
+
api_url="https://router.huggingface.co/hf-inference/pipeline/feature-extraction/",
|
| 78 |
)
|
| 79 |
|
| 80 |
# Initialize session state
|