liyaoshi commited on
Commit
3fa3ce5
1 Parent(s): 412f1d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -144,6 +144,7 @@ def get_completion(message,history):
144
  response = requests.post('https://burn.hair/v1/chat/completions', headers=headers, json=data)
145
  response_data = response.json()
146
  print(response_data)
 
147
  if 'error' in response_data:
148
  response_content = response_data['error']['message']
149
  else:
 
144
  response = requests.post('https://burn.hair/v1/chat/completions', headers=headers, json=data)
145
  response_data = response.json()
146
  print(response_data)
147
+ print('-----------------------------------\n')
148
  if 'error' in response_data:
149
  response_content = response_data['error']['message']
150
  else: