alejandro-ao / langchain-ask-pdf

An AI-app that allows you to upload a PDF and ask questions about it. It uses OpenAI's LLMs to generate a response.
584 stars 308 forks source link

Update requirements.txt #12

Closed andy3278 closed 1 year ago

andy3278 commented 1 year ago

When I import streamlit ModuleNotFoundError: No module named 'altair.vegalite.v4' occurred, I found the following solution by Streamlit Team. https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-altair-vegalite-v4/42921/12 there were breaking changes in Altair 5 for Community Cloud.

In the short term, the best solution would be to: Either: pin altair < 5 or upgrade streamlit to >=1.20.0

appsec-airito commented 1 year ago

Agreed! Had the same issue. This helped. (Used python 3.10.10 version)

pargara commented 1 year ago

Had the same issue

trungdlp-wolffun commented 1 year ago

Had the same issue