Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,7 +89,7 @@ Important instructions:
|
|
| 89 |
8. Make your answers clear, fact-based, and well-structured.
|
| 90 |
"""
|
| 91 |
|
| 92 |
-
|
| 93 |
|
| 94 |
Vorlesungsinhalte:
|
| 95 |
{context}
|
|
@@ -103,8 +103,6 @@ Antwort:"""
|
|
| 103 |
return prompt
|
| 104 |
|
| 105 |
|
| 106 |
-
|
| 107 |
-
|
| 108 |
def respond(message, history):
|
| 109 |
try:
|
| 110 |
prompt = build_prompt(message)
|
|
|
|
| 89 |
8. Make your answers clear, fact-based, and well-structured.
|
| 90 |
"""
|
| 91 |
|
| 92 |
+
prompt = f"""{system_instruction}
|
| 93 |
|
| 94 |
Vorlesungsinhalte:
|
| 95 |
{context}
|
|
|
|
| 103 |
return prompt
|
| 104 |
|
| 105 |
|
|
|
|
|
|
|
| 106 |
def respond(message, history):
|
| 107 |
try:
|
| 108 |
prompt = build_prompt(message)
|