Nelly-43 commited on
Commit
073ad8c
·
verified ·
1 Parent(s): 26b66a1

Update app_web.py

Browse files
Files changed (1) hide show
  1. app_web.py +1 -1
app_web.py CHANGED
@@ -179,7 +179,7 @@ def render_chat():
179
  for m in prior_messages[-max_history:]
180
  ]
181
  try:
182
- qcat_result = categorize_query(combined, cfg, history)
183
  except Exception as e:
184
  print(e)
185
  qcat_result = {"category": "general", "action": "continue"}
 
179
  for m in prior_messages[-max_history:]
180
  ]
181
  try:
182
+ qcat_result = categorize_query(prompt, cfg, history)
183
  except Exception as e:
184
  print(e)
185
  qcat_result = {"category": "general", "action": "continue"}