add a AI chatbot, rename course names
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user