yttanaka commited on
Commit
bf92b86
·
verified ·
1 Parent(s): 760af25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -35,8 +35,7 @@ def respond(message, history):
35
  #print(response_data)
36
 
37
  except Exception as error:
38
- response_data = f"ERROR status_code: {type(error).__name__}"
39
- # + str(response.status_code) + " response:" + response.text
40
 
41
  # print(response.json())
42
  return response_data
 
35
  #print(response_data)
36
 
37
  except Exception as error:
38
+ response_data = f"ERROR status_code: {type(error).__name__}"+ str(response.status_code) + " response:" + response.text
 
39
 
40
  # print(response.json())
41
  return response_data