How to run this code
-
Configure Python environment, we suggest you use Python3.8
-
Install openai and set the openai key in the terminal
export OPENAI_API_KEY=<your_api_key>
You can find your openai api key following this link.
-
Install whisper following this
-
Install the packages required: loguru, pytube, pubchempy, pandas, streamlit, langchain in your local python environment
-
Install chemdataextractor by
pip install chemdataextractor
cde data download
- Install this repo
pip install -e .
- Run the program by
streamlit run run.py