IVentureISB commited on
Commit
512ef96
·
1 Parent(s): aa5c113

Update app.py

Browse files

secret_key_added_replaced_hardcoded_value

Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -4,9 +4,9 @@ import os
4
  from dotenv import load_dotenv
5
  load_dotenv()
6
 
7
- # OPEN_AI_KEY='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'
8
- openai.api_key ='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'#
9
- # openai.api_key = os.getenv(OPEN_AI_KEY)
10
 
11
  messages = [
12
  {"role": "system", "content": "You are an AI assistant that only gives responses from the website https://i-venture.org/ and you help people make decisions about how to make a difference in others' lives. You also provide the relevant links from that website as part of your answers."},
 
4
  from dotenv import load_dotenv
5
  load_dotenv()
6
 
7
+
8
+ SECRET_TOKEN = os.getenv("SECRET_TOKEN")
9
+
10
 
11
  messages = [
12
  {"role": "system", "content": "You are an AI assistant that only gives responses from the website https://i-venture.org/ and you help people make decisions about how to make a difference in others' lives. You also provide the relevant links from that website as part of your answers."},