Spaces:
Sleeping
Sleeping
Download src/stream/__init__.py from slk1st/ai-model-studio: direct link, hf CLI and curl.
- Browser
- Download file 367 Bytes
-
https://huggingface.co/spaces/slk1st/ai-model-studio/resolve/main/src/stream/__init__.py
- Command line
-
hf download hf://spaces/slk1st/ai-model-studio/src/stream/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/slk1st/ai-model-studio/resolve/main/src/stream/__init__.py
367 Bytes
| """流式处理模块""" | |
| from .processor import ( | |
| StreamProcessor, | |
| get_stream_processor | |
| ) | |
| # 从统一错误模块重新导出(向后兼容) | |
| from src.core.errors import ( | |
| EmptyResponseError, | |
| VcoreError, | |
| ) | |
| __all__ = [ | |
| # 处理器 | |
| "StreamProcessor", | |
| "get_stream_processor", | |
| # 错误类 | |
| "EmptyResponseError", | |
| "VcoreError", | |
| ] |