barunsaha commited on
Commit
5b59747
·
1 Parent(s): 46d1ee4

Add API key error message for Together AI

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -322,8 +322,8 @@ def set_up_chat_ui():
322
  f'An unexpected error occurred while generating the content: {ex}'
323
  '\nPlease try again later, possibly with different inputs.'
324
  ' Alternatively, try selecting a different LLM from the dropdown list.'
325
- ' If you are using Cohere or Gemini models, make sure that you have provided'
326
- ' a correct API key.',
327
  True
328
  )
329
  return
 
322
  f'An unexpected error occurred while generating the content: {ex}'
323
  '\nPlease try again later, possibly with different inputs.'
324
  ' Alternatively, try selecting a different LLM from the dropdown list.'
325
+ ' If you are using Cohere, Gemini, or Together AI models, make sure that you have'
326
+ ' provided a correct API key.',
327
  True
328
  )
329
  return