radinhas commited on
Commit
1ff0ace
·
1 Parent(s): 79e580a

Update apis/chat_api.py

Browse files
Files changed (1) hide show
  1. apis/chat_api.py +1 -1
apis/chat_api.py CHANGED
@@ -113,7 +113,7 @@ class ChatAPIApp:
113
  #base64EncodedStr = base64.encodebytes(buffer)
114
  mp3_fp.read()
115
  return Response(content=mp3_fp.tell(), media_type="audio/mpeg")
116
- except gtts.tts.gTTSError as err:
117
  item_response = {
118
  "status": 400
119
  }
 
113
  #base64EncodedStr = base64.encodebytes(buffer)
114
  mp3_fp.read()
115
  return Response(content=mp3_fp.tell(), media_type="audio/mpeg")
116
+ except gTTS.tts.gTTSError as err:
117
  item_response = {
118
  "status": 400
119
  }