mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
fix small bug in README.md (#107)
This commit is contained in:
@@ -175,7 +175,7 @@ def echo(audio: tuple[int, np.ndarray]):
|
|||||||
yield audio
|
yield audio
|
||||||
|
|
||||||
stream = Stream(
|
stream = Stream(
|
||||||
handler=ReplyOnPause(detection),
|
handler=ReplyOnPause(echo),
|
||||||
modality="audio",
|
modality="audio",
|
||||||
mode="send-receive",
|
mode="send-receive",
|
||||||
)
|
)
|
||||||
@@ -314,4 +314,4 @@ async def _():
|
|||||||
return HTMLResponse(content=open("index.html").read())
|
return HTMLResponse(content=open("index.html").read())
|
||||||
|
|
||||||
# uvicorn app:app --host 0.0.0.0 --port 8000
|
# uvicorn app:app --host 0.0.0.0 --port 8000
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user