Skip to content

Commit

Permalink
Update src/ragger/demo.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Saattrup Nielsen <[email protected]>
  • Loading branch information
AJDERS and saattrupdan authored Apr 30, 2024
1 parent d172e9f commit 6564899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ragger/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 6564899

Please sign in to comment.