#๐Ÿ”’ i am seeing an error please help me

6 messages ยท Page 1 of 1 (latest)

abstract knot
#

File "/home/teddy/app dev/env/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.dict)
File "/home/teddy/app dev/app.py", line 53, in <module>
main()
File "/home/teddy/app dev/app.py", line 47, in main
vectorstore = get_vectorstore(text_chunks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/teddy/app dev/app.py", line 25, in get_vectorstore
embeddings = HuggingFaceInstructEmbeddings(model_name="hkunlp/instructor-xl")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/teddy/app dev/env/lib/python3.11/site-packages/langchain_community/embeddings/huggingface.py", line 158, in init
self.client = INSTRUCTOR(
^^^^^^^^^^^
File "/home/teddy/app dev/env/lib/python3.11/site-packages/sentence_transformers/SentenceTransformer.py", line 197, in init
modules = self._load_sbert_model(
^^^^^^^^^^^^^^^^^^^^^^^

devout flareBOT
#

@abstract knot

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

placid hare
#

please also share the code that caused the error

devout flareBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.