LOUIS SANNA commited on
Commit
8d2c035
1 Parent(s): 92384d5

feat(chat): avoid crash

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -128,8 +128,6 @@ from threading import Thread
128
 
129
 
130
  def answer_user(query, query_example, history):
131
- if len(query) <= 2:
132
- raise Exception("Please ask a longer question")
133
  return query, history + [[query, ". . ."]]
134
 
135
 
 
128
 
129
 
130
  def answer_user(query, query_example, history):
 
 
131
  return query, history + [[query, ". . ."]]
132
 
133