Spaces:
Sleeping
Sleeping
Add API key error message for Together AI
Browse files
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
|
| 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
|