run.py: Add example usage to the module docstring

This commit is contained in:
Mark Backman
2025-07-10 11:40:50 -07:00
parent 332ca3d55e
commit a246862910

View File

@@ -9,6 +9,21 @@
This module provides a unified interface for running Pipecat examples across This module provides a unified interface for running Pipecat examples across
different transport types including Daily.co, WebRTC, and Twilio. It handles different transport types including Daily.co, WebRTC, and Twilio. It handles
setup, configuration, and lifecycle management for each transport type. setup, configuration, and lifecycle management for each transport type.
Example usage:
SmallWebRTCTransport::
python bot.py --transport webrtc
DailyTransport::
python bot.py --transport daily
Twilio::
python bot.py --transport twilio --proxy username.ngrok.io
# Note: Concurrently, run an ngrok tunnel to your local server:
# ngrok http 7860
""" """
import argparse import argparse