Spaces:
Sleeping
Sleeping
Commit
·
1229dae
1
Parent(s):
01a598f
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,11 +13,11 @@ def getLLMResonse(query, age_option, tasktype_option):
|
|
| 13 |
|
| 14 |
llm = OpenAI(temperature=.9, model="gpt-3.5-turbo-instruct")
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
# Silly and Sweet Kid
|
| 19 |
if age_option == "Kid":
|
| 20 |
-
|
| 21 |
{
|
| 22 |
"query": "What is a mobile?",
|
| 23 |
"answer": "A mobile is a magical device that fits in your pocket, "
|
|
|
|
| 13 |
|
| 14 |
llm = OpenAI(temperature=.9, model="gpt-3.5-turbo-instruct")
|
| 15 |
|
| 16 |
+
# examples = []
|
| 17 |
|
| 18 |
# Silly and Sweet Kid
|
| 19 |
if age_option == "Kid":
|
| 20 |
+
examples = [
|
| 21 |
{
|
| 22 |
"query": "What is a mobile?",
|
| 23 |
"answer": "A mobile is a magical device that fits in your pocket, "
|