Files
gradio-webrtc/backend/gradio_webrtc/__init__.py
Freddy Boulton 6c983482b8 Add ReplyOnStopWords (#35)
* add code

* fix dependencies

* add code:
2024-12-11 18:25:53 -08:00

29 lines
770 B
Python

from .credentials import (
get_hf_turn_credentials,
get_turn_credentials,
get_twilio_turn_credentials,
)
from .reply_on_pause import AlgoOptions, ReplyOnPause, SileroVadOptions
from .reply_on_stopwords import ReplyOnStopWords
from .speech_to_text import stt, stt_for_chunks
from .utils import AdditionalOutputs, audio_to_bytes, audio_to_file, audio_to_float32
from .webrtc import StreamHandler, WebRTC
__all__ = [
"AlgoOptions",
"AdditionalOutputs",
"audio_to_bytes",
"audio_to_file",
"audio_to_float32",
"get_hf_turn_credentials",
"get_twilio_turn_credentials",
"get_turn_credentials",
"ReplyOnPause",
"ReplyOnStopWords",
"SileroVadOptions",
"stt",
"stt_for_chunks",
"StreamHandler",
"WebRTC",
]