HuggingMind is an AI-driven mental health chatbot provides university students with 24/7 personalized support and immediate access to professional guidance, utilizing advanced language models and university-specific mental health resources.
You can get your own OpenAI API key by following the following instructions:
- Go to https://platform.openai.com/account/api-keys.
- Click on the
+ Create new secret key
button. - Next, enter an identifier name (optional) and click on the
Create secret key
button.
To set the OpenAI API key as an environment variable in Streamlit apps, do the following:
- At the lower right corner, click on
< Manage app
then click on the vertical "..." followed by clicking onSettings
. - This brings the App settings, next click on the
Secrets
tab and paste the API key into the text box as follows:
OPENAI_API_KEY='xxxxxxxxxx'
virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
streamlit run Chatbot.py