chatgpt streamlit
1.0.0
โครงการนี้สำหรับการสาธิตตาม CHATGPT และอินเทอร์เฟซพูดผ่าน Streamlit
สิ่งแวดล้อม
Openai API
ติดตั้งและเรียกใช้
# with virtualenv
$ virtualenv .venv
$ . .venv/bin/activate
# openai - chatgpt, whisper only
$ pip install .
# openai with simple TTS (with cpu version of pytorch)
$ pip install .[tts] --extra-index-url https://download.pytorch.org/whl/cpu
# run streamlit - with environment variable of API KEY
$ OPENAI_API_KEY=[YOUR-API-KEY] streamlit run chatgpt_streamlit/app.py หน้าสาธิต (งานทั้งหมดของเวิร์กโฟลว์เสร็จแล้ว)
