ytyeung commited on
Commit
64ce84a
·
1 Parent(s): 5f9f028

Add unknown messages

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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)