Spaces:
Sleeping
Sleeping
DylanZimmer commited on
Commit ·
70a3ce4
1
Parent(s): fd81378
List hardcode
Browse files
app.py
CHANGED
|
@@ -18,9 +18,9 @@ updateListSysPrompt = (
|
|
| 18 |
"If you see mention of a thing of a type in the list that's not in the list, add it to the list."
|
| 19 |
)
|
| 20 |
|
| 21 |
-
|
| 22 |
-
def updateList(newText, list):
|
| 23 |
preparePrompt = []
|
|
|
|
| 24 |
|
| 25 |
if list == []:
|
| 26 |
preparePrompt.append({"role": "system", "content": createListSysPrompt})
|
|
|
|
| 18 |
"If you see mention of a thing of a type in the list that's not in the list, add it to the list."
|
| 19 |
)
|
| 20 |
|
| 21 |
+
def updateList(newText):
|
|
|
|
| 22 |
preparePrompt = []
|
| 23 |
+
list = []
|
| 24 |
|
| 25 |
if list == []:
|
| 26 |
preparePrompt.append({"role": "system", "content": createListSysPrompt})
|