Download backend/proxy_streams.py from VoiceOfML/Search: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/spaces/VoiceOfML/Search/resolve/main/backend/proxy_streams.py
- Command line
-
hf download hf://spaces/VoiceOfML/Search/backend/proxy_streams.py
-
curl -L -o proxy_streams.py https://huggingface.co/spaces/VoiceOfML/Search/resolve/main/backend/proxy_streams.py
408 Bytes
| """Compatibility import for backend.shared.transport.streams.""" | |
| import sys | |
| from backend.shared.transport import streams as _implementation | |
| from backend.shared.transport.streams import ( | |
| OwnedStreamingResponse as OwnedStreamingResponse, | |
| RangeSubscription as RangeSubscription, | |
| SharedRangeFlight as SharedRangeFlight, | |
| UpstreamLease as UpstreamLease, | |
| ) | |
| sys.modules[__name__] = _implementation | |