Merge pull request #2182 from pipecat-ai/mb/run-example-usage

run.py: Add example usage to the module docstring
This commit is contained in:
Mark Backman
2025-07-10 12:48:29 -07:00
committed by GitHub

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