Update app.py
Browse files
app.py
CHANGED
@@ -254,7 +254,7 @@ with gr.Blocks(css=css) as demo:
|
|
254 |
# output_markdown = gr.Markdown(label="Output")
|
255 |
output_markdown = gr.Chatbot()
|
256 |
output_markdown.like(vote, None, None)
|
257 |
-
gr.ChatInterface(fn=yes,
|
258 |
# with gr.Row(label="Your feedback"):
|
259 |
# chatbot = gr.Chatbot(placeholder="<strong>Is this prediction helpful?</strong><br>")
|
260 |
# chatbot.like(vote, None, None)
|
|
|
254 |
# output_markdown = gr.Markdown(label="Output")
|
255 |
output_markdown = gr.Chatbot()
|
256 |
output_markdown.like(vote, None, None)
|
257 |
+
gr.ChatInterface(fn=yes, chatbot=output_markdown)
|
258 |
# with gr.Row(label="Your feedback"):
|
259 |
# chatbot = gr.Chatbot(placeholder="<strong>Is this prediction helpful?</strong><br>")
|
260 |
# chatbot.like(vote, None, None)
|