Climate PAL - Climate Analysis and Projection Language Model
-
In the
langchain_demo
directory create a folder calleddata
. -
Create and place the following content into
langchain_demo/key.py
(Note: you need to createkey.py
):import os def init(): os.environ["OPENAI_API_KEY"] = '' # Put your key here!
-
clone the repository at cmip6-cmor-tables and place it at the same level directory as
climate_pal
.
Note: does not work on Safari browser
python -m pip install langflow -U
python -m langflow run
- import the file
Climate Prediction Updated.json
via the Langflow GUI
conda create -n langchain_env python=3.11.7
conda activate langchain_env
pip install -r requirements.txt
In the langchain_demo
directory run:
streamlit run streamlit_assistant.py