From 6564899e8c0baafae5c24593ade25cb7255cd656 Mon Sep 17 00:00:00 2001 From: Anders Jess Pedersen <38854604+AJDERS@users.noreply.github.com> Date: Tue, 30 Apr 2024 11:34:28 +0200 Subject: [PATCH] Update src/ragger/demo.py Co-authored-by: Dan Saattrup Nielsen <47701536+saattrupdan@users.noreply.github.com> --- src/ragger/demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ragger/demo.py b/src/ragger/demo.py index a555c21f..51b76e5a 100644 --- a/src/ragger/demo.py +++ b/src/ragger/demo.py @@ -103,7 +103,7 @@ def build_demo(self) -> gr.Blocks: outputs=[directions], queue=False, ) - chatbot.like(fn=self.vote, inputs=chatbot, outputs=None).then( + chatbot.like(fn=self.vote, inputs=chatbot).then( fn=lambda: ( gr.update(interactive=True, visible=True), gr.update(interactive=True, visible=True),