mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
Fix outdated import (#185)
This commit is contained in:
@@ -150,7 +150,7 @@ The API is similar to `ReplyOnPause` with the addition of a `stop_words` paramet
|
|||||||
=== "Code"
|
=== "Code"
|
||||||
``` py
|
``` py
|
||||||
import gradio as gr
|
import gradio as gr
|
||||||
from gradio_webrtc import WebRTC, StreamHandler
|
from fastrtc import StreamHandler
|
||||||
from queue import Queue
|
from queue import Queue
|
||||||
|
|
||||||
class EchoHandler(StreamHandler):
|
class EchoHandler(StreamHandler):
|
||||||
|
|||||||
Reference in New Issue
Block a user