brahmanarisetty commited on
Commit
37b16ea
·
verified ·
1 Parent(s): e321b00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -205,7 +205,7 @@ def chat(query, k, temperature, top_p):
205
  return reply
206
 
207
  words = query.strip().split()
208
- if len(words) < 3 or '?' not in query:
209
  reply = "Could you provide more detail about what you're experiencing? Any error messages or steps you've tried will help me assist you."
210
  chat_history.append((query, reply))
211
  return reply
 
205
  return reply
206
 
207
  words = query.strip().split()
208
+ if len(words) < 3:
209
  reply = "Could you provide more detail about what you're experiencing? Any error messages or steps you've tried will help me assist you."
210
  chat_history.append((query, reply))
211
  return reply