Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -688,12 +688,12 @@ with gr.Blocks(
|
|
688 |
)
|
689 |
|
690 |
upvote_btn.click(
|
691 |
-
fn=upvote_last_response, inputs=
|
692 |
)
|
693 |
|
694 |
|
695 |
downvote_btn.click(
|
696 |
-
fn=downvote_last_response, inputs=
|
697 |
)
|
698 |
|
699 |
|
|
|
688 |
)
|
689 |
|
690 |
upvote_btn.click(
|
691 |
+
fn=upvote_last_response, inputs=chatbot, outputs=chatbot, api_name="upvote_last_response"
|
692 |
)
|
693 |
|
694 |
|
695 |
downvote_btn.click(
|
696 |
+
fn=downvote_last_response, inputs=chatbot, outputs=chatbot, api_name="upvote_last_response"
|
697 |
)
|
698 |
|
699 |
|