runtime error

Loaded as API: https://svjack-entity-property-extractor-zh.hf.space/ ✔ /home/user/.local/lib/python3.10/site-packages/langchain/vectorstores/__init__.py:35: LangChainDeprecationWarning: Importing vector stores from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead: `from langchain_community.vectorstores import FAISS`. To install langchain-community run `pip install -U langchain-community`. warnings.warn( Traceback (most recent call last): File "/home/user/.local/lib/python3.10/site-packages/haystack/components/generators/chat/hugging_face_tgi.py", line 14, in <module> from huggingface_hub.inference._text_generation import TextGenerationStreamResponse, TextGenerationResponse, Token ModuleNotFoundError: No module named 'huggingface_hub.inference._text_generation' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 41, in <module> tgi_chat_generator = HuggingFaceTGIChatGenerator(model=model_id, token=HF_TOKEN, File "/home/user/.local/lib/python3.10/site-packages/haystack/components/generators/chat/hugging_face_tgi.py", line 113, in __init__ transformers_import.check() File "/home/user/.local/lib/python3.10/site-packages/lazy_imports/try_import.py", line 107, in check raise ImportError(message) from exc_value ImportError: Failed to import 'huggingface_hub.inference._text_generation'. Run 'pip install transformers'. Original error: No module named 'huggingface_hub.inference._text_generation'

Container logs:

Fetching error logs...