Spaces:
Runtime error
Runtime error
Download utils/openllmapi/exceptions.py from ashhadahsan/summarizer-space: direct link, hf CLI and curl.
- Browser
- Download file 876 Bytes
-
https://huggingface.co/spaces/ashhadahsan/summarizer-space/resolve/main/utils/openllmapi/exceptions.py
- Command line
-
hf download hf://spaces/ashhadahsan/summarizer-space/utils/openllmapi/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/spaces/ashhadahsan/summarizer-space/resolve/main/utils/openllmapi/exceptions.py
876 Bytes
| class ModelOverloadedError(Exception): | |
| """ | |
| HF Model Overloaded Error | |
| Raised when hf return response `{"error":"Model is overloaded","error_type":"overloaded"}` | |
| """ | |
| pass | |
| class ChatBotInitError(Exception): | |
| """ | |
| ChatBot Init Error | |
| Raised when chatbot init failed | |
| """ | |
| pass | |
| class CreateConversationError(Exception): | |
| """ | |
| Create Conversation Error | |
| Raised when create conversation failed | |
| """ | |
| pass | |
| class InvalidConversationIDError(Exception): | |
| """ | |
| Invalid Conversation ID Error | |
| Raised when using a invalid conversation id | |
| """ | |
| pass | |
| class DeleteConversationError(Exception): | |
| """ | |
| Delete Conversation Error | |
| Raised when delete conversation failed | |
| """ | |
| pass | |
| class ChatError(Exception): | |
| """ | |
| Chat Error | |
| Raised when chat failed | |
| """ | |
| pass | |