xiaolv commited on
Commit
1cb5472
1 Parent(s): 46dbe7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ def request_to_v2(message, cookie, user_id,context=[]):
140
  print(bots)
141
 
142
  ## 拦截违法数据,错误的数据。
143
- if "Anthropic's Acceptable Use Policy" in str(bots):
144
 
145
  response =">>>>>> 查询失败\n报错信息为:"+ str(bots) + f"\n response信息:\n错误代码:{404}\n错误信息{str(bots)}"
146
  print(response)
 
140
  print(bots)
141
 
142
  ## 拦截违法数据,错误的数据。
143
+ if "disabled for violating" in str(bots):
144
 
145
  response =">>>>>> 查询失败\n报错信息为:"+ str(bots) + f"\n response信息:\n错误代码:{404}\n错误信息{str(bots)}"
146
  print(response)