mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-04 17:39:23 +08:00
Fix msg (#275)
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
msg?.type === "warning" ||
|
||||
msg?.type === "error"
|
||||
) {
|
||||
gradio.dispatch(msg?.type === "error" ? "error" : "warning", msg.message);
|
||||
gradio.dispatch(msg?.type === "error" ? "error" : "warning", msg.data);
|
||||
} else if (msg?.type === "end_stream") {
|
||||
gradio.dispatch("warning", msg.data);
|
||||
} else if (msg?.type === "fetch_output") {
|
||||
|
||||
Reference in New Issue
Block a user