Spaces:
Sleeping
Sleeping
Update app_web.py
Browse files- 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(
|
| 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"}
|