Streamlit deployment 'no module named torch' error


This is my first time building the app using streamlit.
I am building a chatbot (LLM) that uses pinecone embedding, and thus I am using detectron2. I heard that to use detectron2, installing torch is also required so I put code below for my requirements.txt

However, when I am trying to deploy my app, I am keep getting this error and cannot proceed forward. How should I fix this problem?

Thank you for all your help!

Hey @barky,

Can you share the link to your deployed app and GitHub repo?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.