Spaces:
Sleeping
Sleeping
Commit
·
512ef96
1
Parent(s):
aa5c113
Update app.py
Browse filessecret_key_added_replaced_hardcoded_value
app.py
CHANGED
|
@@ -4,9 +4,9 @@ import os
|
|
| 4 |
from dotenv import load_dotenv
|
| 5 |
load_dotenv()
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 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."},
|
|
|
|
| 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."},
|