nanoppa commited on
Commit
d35d029
·
verified ·
1 Parent(s): 35086a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -166,7 +166,7 @@ def chat_completions():
166
  )
167
  else:
168
  user_query = data.get('messages', [])[0]["content"]
169
- #解决用dify或者new_api添加模型时报错
170
  if user_query == "ping":
171
  text_matches = re.findall(r'0:"(.*?)"', akash_response.text)
172
  parsed_text = "".join(text_matches)
 
166
  )
167
  else:
168
  user_query = data.get('messages', [])[0]["content"]
169
+ # 解决用dify或者new_api添加模型时报错
170
  if user_query == "ping":
171
  text_matches = re.findall(r'0:"(.*?)"', akash_response.text)
172
  parsed_text = "".join(text_matches)