Update app.py
Browse files
app.py
CHANGED
|
@@ -45,12 +45,14 @@ The fact should be:
|
|
| 45 |
|
| 46 |
Respond with ONLY the fun fact, no additional text or context.
|
| 47 |
|
| 48 |
-
Example good responses:
|
| 49 |
-
"A day on Venus is longer than its year due to its slow rotation and faster orbit around the Sun."
|
| 50 |
-
"Honeybees can recognize human faces by learning patterns of facial features."
|
| 51 |
-
"The average cumulus cloud weighs around 1.1 million pounds due to its water content."
|
| 52 |
"""
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
prompt = ChatPromptTemplate.from_messages([
|
| 55 |
("system", system_prompt),
|
| 56 |
("human", "Generate a fascinating fun fact!"),
|
|
|
|
| 45 |
|
| 46 |
Respond with ONLY the fun fact, no additional text or context.
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
"""
|
| 49 |
|
| 50 |
+
# Example good responses:
|
| 51 |
+
# "A day on Venus is longer than its year due to its slow rotation and faster orbit around the Sun."
|
| 52 |
+
# "Honeybees can recognize human faces by learning patterns of facial features."
|
| 53 |
+
# "The average cumulus cloud weighs around 1.1 million pounds due to its water content."
|
| 54 |
+
|
| 55 |
+
|
| 56 |
prompt = ChatPromptTemplate.from_messages([
|
| 57 |
("system", system_prompt),
|
| 58 |
("human", "Generate a fascinating fun fact!"),
|