Update app.py
Browse files
app.py
CHANGED
@@ -538,12 +538,12 @@ with gr.Blocks(
|
|
538 |
)
|
539 |
|
540 |
upvote_btn.click(
|
541 |
-
fn=upvote_last_response, inputs=
|
542 |
)
|
543 |
|
544 |
|
545 |
downvote_btn.click(
|
546 |
-
fn=downvote_last_response, inputs=
|
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 |
|