add a AI chatbot, rename course names

This commit is contained in:
BuffTechTalk
2025-01-10 14:29:06 -06:00
parent 9a28b3eaba
commit ab0e64777e
30 changed files with 430 additions and 76 deletions

View File

@@ -12,7 +12,7 @@ with st.expander("See Source Code"):
st.code(f.read(), language="python")
# Load API credentials from config.json
with open('chatbot_config.json') as config_file:
with open('app_config.json') as config_file:
config = json.load(config_file)
openai_api_base_url = config["api_url"]
openai_api_key = config["api_key"]