Anne31415 commited on
Commit
9dea00a
·
1 Parent(s): 1ef324e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -96,21 +96,22 @@ def display_chat_history(chat_history):
96
  def handle_no_answer(response):
97
  no_answer_phrases = [
98
  # German phrases
99
- "ich weiß es nicht",
100
- "ich bin mir nicht sicher",
 
101
  "es wird nicht erwähnt",
102
  "keine Information",
103
  "das ist unklar",
104
  "da habe ich keine Antwort",
105
  "das kann ich nicht beantworten",
106
  # English phrases
107
- "i don't know",
108
- "i am not sure",
109
- "it is not mentioned",
110
  "no information",
111
  "that is unclear",
112
- "i have no answer",
113
- "i cannot answer that",
114
  "unable to provide an answer",
115
  "not enough context",
116
  # Add more phrases as needed
 
96
  def handle_no_answer(response):
97
  no_answer_phrases = [
98
  # German phrases
99
+ "Ich weiß es nicht",
100
+ "Ich weiß nicht"
101
+ "Ich bin mir nicht sicher",
102
  "es wird nicht erwähnt",
103
  "keine Information",
104
  "das ist unklar",
105
  "da habe ich keine Antwort",
106
  "das kann ich nicht beantworten",
107
  # English phrases
108
+ "I don't know",
109
+ "I am not sure",
110
+ "It is not mentioned",
111
  "no information",
112
  "that is unclear",
113
+ "I have no answer",
114
+ "I cannot answer that",
115
  "unable to provide an answer",
116
  "not enough context",
117
  # Add more phrases as needed