This commit is contained in:
Freddy Boulton
2025-04-14 09:20:32 -04:00
committed by GitHub
parent d42740372c
commit dcde624449

View File

@@ -47,7 +47,7 @@
msg?.type === "warning" || msg?.type === "warning" ||
msg?.type === "error" 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") { } else if (msg?.type === "end_stream") {
gradio.dispatch("warning", msg.data); gradio.dispatch("warning", msg.data);
} else if (msg?.type === "fetch_output") { } else if (msg?.type === "fetch_output") {