paralym commited on
Commit
c474b0c
1 Parent(s): add98e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -538,12 +538,12 @@ with gr.Blocks(
538
  )
539
 
540
  upvote_btn.click(
541
- fn=upvote_last_response, inputs=[chatbot], outputs=[], api_name="upvote_last_response"
542
  )
543
 
544
 
545
  downvote_btn.click(
546
- fn=downvote_last_response, inputs=[chatbot], outputs=[], api_name="downvote_last_response"
547
  )
548
 
549
 
 
538
  )
539
 
540
  upvote_btn.click(
541
+ fn=upvote_last_response, inputs=chatbot, outputs=chatbot, api_name="upvote_last_response"
542
  )
543
 
544
 
545
  downvote_btn.click(
546
+ fn=downvote_last_response, inputs=chatbot, outputs=chatbot, api_name="downvote_last_response"
547
  )
548
 
549