FrederickSundeep commited on
Commit
875bdae
Β·
verified Β·
1 Parent(s): 6677c43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -156,9 +156,9 @@ def chat_stream():
156
  history = data.get("history", [])
157
 
158
  def generate():
159
- if should_search(message):
160
- reply = f"(Live info) {search_tool.run(message)}"
161
- else:
162
  reply = generate_full_reply(message, history)
163
  for token in reply.splitlines(keepends=True):
164
  yield token
 
156
  history = data.get("history", [])
157
 
158
  def generate():
159
+ # if should_search(message):
160
+ # reply = f"(Live info) {search_tool.run(message)}"
161
+ # else:
162
  reply = generate_full_reply(message, history)
163
  for token in reply.splitlines(keepends=True):
164
  yield token