Spaces:
Runtime error
Runtime error
Download core/__init__.py from Smartwaylabs/pipecat-livekit: direct link, hf CLI and curl.
- Browser
- Download file 1.05 kB
-
https://huggingface.co/spaces/Smartwaylabs/pipecat-livekit/resolve/main/core/__init__.py
- Command line
-
hf download hf://spaces/Smartwaylabs/pipecat-livekit/core/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Smartwaylabs/pipecat-livekit/resolve/main/core/__init__.py
1.05 kB
| """ | |
| Core Pipecat bot modules. | |
| Provides: | |
| - Pipeline building utilities | |
| - Event handlers | |
| - RTVI processor setup | |
| - Flow processing and handlers | |
| - Transcript generation | |
| """ | |
| from core.pipeline import PipelineBuilder | |
| from core.rtvi import setup_rtvi_processor, setup_client_ready_handler | |
| from core.events import setup_event_handlers | |
| from core.flow import ( | |
| process_flow_config_handlers, | |
| send_state_sync, | |
| end_conversation_handler, | |
| create_stub_handler, | |
| ) | |
| from core.transcript import ( | |
| TranscriptCollector, | |
| TranscriptObserver, | |
| UtteranceBuffer, | |
| STARTED_SPEAKING, | |
| STOPPED_SPEAKING, | |
| ) | |
| __all__ = [ | |
| # Pipeline | |
| "PipelineBuilder", | |
| # RTVI | |
| "setup_rtvi_processor", | |
| "setup_client_ready_handler", | |
| # Events | |
| "setup_event_handlers", | |
| # Flow | |
| "process_flow_config_handlers", | |
| "send_state_sync", | |
| "end_conversation_handler", | |
| "create_stub_handler", | |
| # Transcript | |
| "TranscriptCollector", | |
| "TranscriptObserver", | |
| "UtteranceBuffer", | |
| "STARTED_SPEAKING", | |
| "STOPPED_SPEAKING", | |
| ] | |