Atsatoru commited on
Commit
bee25d0
·
verified ·
1 Parent(s): 5be34b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1264,6 +1264,8 @@ HÃY TRẢ LỜI NGƯỜI DÂNG:"""
1264
  if len(final_response) < 50:
1265
  # Dùng smart response builder thay vì prompt mặc định
1266
  final_response = build_smart_response(query, situation, docs, intents, proc_info)
 
 
1267
 
1268
  # Fallback cuối cùng
1269
  if len(final_response) < 30:
 
1264
  if len(final_response) < 50:
1265
  # Dùng smart response builder thay vì prompt mặc định
1266
  final_response = build_smart_response(query, situation, docs, intents, proc_info)
1267
+ final_response = final_response.replace("Persons", "trật tự xã hội")
1268
+ final_response = final_response.replace("persons", "trật tự xã hội")
1269
 
1270
  # Fallback cuối cùng
1271
  if len(final_response) < 30: