runtime error
Exit code: 1. Reason: 00 Server Error: Internal Server Error for url: https://router.huggingface.co/hf-inference/models/sentence-transformers/all-MiniLM-L6-v2/pipeline/feature-extraction The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/app.py", line 95, in <module> vectorstore = FAISS.from_documents(split_docs, embedding_model) File "/usr/local/lib/python3.13/site-packages/langchain_core/vectorstores/base.py", line 814, in from_documents return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/langchain_community/vectorstores/faiss.py", line 1043, in from_texts embeddings = embedding.embed_documents(texts) File "/app/app.py", line 56, in embed_documents return [self._embed(text) for text in texts] ~~~~~~~~~~~^^^^^^ File "/app/app.py", line 45, in _embed vector = embedding_client.feature_extraction( text, model="sentence-transformers/all-MiniLM-L6-v2" ) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/inference/_client.py", line 1078, in feature_extraction response = self._inner_post(request_parameters) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/inference/_client.py", line 275, in _inner_post hf_raise_for_status(response) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 476, in hf_raise_for_status raise _format(HfHubHTTPError, str(e), response) from e huggingface_hub.errors.HfHubHTTPError: 500 Server Error: Internal Server Error for url: https://router.huggingface.co/hf-inference/models/sentence-transformers/all-MiniLM-L6-v2/pipeline/feature-extraction (Request ID: Root=1-6a1ff686-240653475d62428918bd2f14;7d0aa579-1903-4b95-a94a-d98363cb86d0) Error: HyperErrorLegacy(hyper_util::client::legacy::Error(Connect, ConnectError("invalid URL, scheme is not http")))
Container logs:
Fetching error logs...