peterw / llamav2-chat

This is a simple, interactive chat application powered by Streamlit and the Replicate LlamaV2 model. It uses Streamlit for the front end interface and Replicate's LlamaV2 model for generating responses based on user input.
https://explodinginsights.com/
70 stars 11 forks source link

Requirements.txt is missing #1

Open alexshmmy opened 1 year ago

alexshmmy commented 1 year ago

Hi cool repo! The requirements.txt file is missing. Should be streamlit, dotenv and replicate i would guess.

bofeng commented 1 year ago

here is my pip freeze after installing streamlit, dotenv, and replicate:

altair==5.0.1
annotated-types==0.5.0
attrs==23.1.0
blinker==1.6.2
cachetools==5.3.1
certifi==2023.7.22
charset-normalizer==3.2.0
click==8.1.6
decorator==5.1.1
gitdb==4.0.10
GitPython==3.1.32
idna==3.4
importlib-metadata==6.8.0
Jinja2==3.1.2
jsonschema==4.18.4
jsonschema-specifications==2023.7.1
markdown-it-py==3.0.0
MarkupSafe==2.1.3
mdurl==0.1.2
numpy==1.25.1
packaging==23.1
pandas==2.0.3
Pillow==9.5.0
protobuf==4.23.4
pyarrow==12.0.1
pydantic==2.0.3
pydantic_core==2.3.0
pydeck==0.8.0
Pygments==2.15.1
Pympler==1.0.1
python-dateutil==2.8.2
python-dotenv==1.0.0
pytz==2023.3
pytz-deprecation-shim==0.1.0.post0
referencing==0.30.0
replicate==0.9.0
requests==2.31.0
rich==13.4.2
rpds-py==0.9.2
six==1.16.0
smmap==5.0.0
streamlit==1.25.0
streamlit-chat==0.1.1
tenacity==8.2.2
toml==0.10.2
toolz==0.12.0
tornado==6.3.2
typing_extensions==4.7.1
tzdata==2023.3
tzlocal==4.3.1
urllib3==2.0.4
validators==0.20.0
watchdog==3.0.0
zipp==3.16.2

then you can use streamlit run main.py to run.

alexshmmy commented 1 year ago

Thank you, I manage to make it work by installing the following packages, and Python 3.9.16

streamlit==1.25.0
streamlit-chat==0.1.1
python-dotenv==1.0.0
replicate==0.9.0
peterw commented 1 year ago

added