This commit is contained in:
freddyaboulton
2024-10-29 11:24:37 -04:00
parent b9cd3a4703
commit d48ae3a825
5 changed files with 11 additions and 11 deletions

View File

@@ -35,6 +35,9 @@ class EchoHandler(StreamHandler):
def emit(self) -> None:
return self.queue.get()
def copy(self) -> StreamHandler:
return EchoHandler()
with gr.Blocks() as demo: