rwitz commited on
Commit
ae1c2b4
·
verified ·
1 Parent(s): 583cdf6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -108,6 +108,7 @@ async def get_bot_response(adapter_id, prompt, state, bot_index):
108
  print(response.text)
109
  response_text = "Sorry, I couldn't generate a response."
110
  except (aiohttp.ClientError, asyncio.TimeoutError):
 
111
  response_text = "Sorry, I couldn't generate a response."
112
  return response_text.split('### Instruction')[0]
113
  async def chat_with_bots(user_input, state):
 
108
  print(response.text)
109
  response_text = "Sorry, I couldn't generate a response."
110
  except (aiohttp.ClientError, asyncio.TimeoutError):
111
+ print(response.text)
112
  response_text = "Sorry, I couldn't generate a response."
113
  return response_text.split('### Instruction')[0]
114
  async def chat_with_bots(user_input, state):