diff --git a/README.md b/README.md index d7b85ca..a63f1bf 100644 --- a/README.md +++ b/README.md @@ -175,7 +175,7 @@ def echo(audio: tuple[int, np.ndarray]): yield audio stream = Stream( - handler=ReplyOnPause(detection), + handler=ReplyOnPause(echo), modality="audio", mode="send-receive", ) @@ -314,4 +314,4 @@ async def _(): return HTMLResponse(content=open("index.html").read()) # uvicorn app:app --host 0.0.0.0 --port 8000 -``` \ No newline at end of file +```