Spaces:
Runtime error
Runtime error
Add unknown messages
Browse files
app.py
CHANGED
@@ -47,7 +47,8 @@ def postprocess(text):
|
|
47 |
|
48 |
# get answer from LLM with prompt input
|
49 |
def answer(text,context=""):
|
50 |
-
text = f"{context}\n{text}\n
|
|
|
51 |
text = text.strip()
|
52 |
|
53 |
print(text)
|
|
|
47 |
|
48 |
# get answer from LLM with prompt input
|
49 |
def answer(text,context=""):
|
50 |
+
text = f"{context}\n{text}\n谜底:\n如果不知道,请说不知道。"
|
51 |
+
|
52 |
text = text.strip()
|
53 |
|
54 |
print(text)
|