Spaces:
Sleeping
Sleeping
Commit ·
2e7132d
1
Parent(s): 4f3536e
Update app.py
Browse files
app.py
CHANGED
|
@@ -333,7 +333,7 @@ with gr.Blocks() as demo:
|
|
| 333 |
gr.Markdown("### No Attention Model")
|
| 334 |
chatbot_left = gr.Chatbot(label="No Attention Chatbot")
|
| 335 |
with gr.Row():
|
| 336 |
-
txt_left = gr.Textbox(show_label=False, placeholder="Type your message here...")
|
| 337 |
send_left = gr.Button("Send")
|
| 338 |
dd_left = gr.Dropdown(choices=PREDEFINED, label="Quick prompts (left)", interactive=True)
|
| 339 |
def set_input_left(selected):
|
|
@@ -349,7 +349,7 @@ with gr.Blocks() as demo:
|
|
| 349 |
gr.Markdown("### With Attention Model")
|
| 350 |
chatbot_right = gr.Chatbot(label="Attention Chatbot")
|
| 351 |
with gr.Row():
|
| 352 |
-
txt_right = gr.Textbox(show_label=False, placeholder="Type your message here...")
|
| 353 |
send_right = gr.Button("Send")
|
| 354 |
dd_right = gr.Dropdown(choices=PREDEFINED, label="Quick prompts (right)", interactive=True)
|
| 355 |
def set_input_right(selected):
|
|
|
|
| 333 |
gr.Markdown("### No Attention Model")
|
| 334 |
chatbot_left = gr.Chatbot(label="No Attention Chatbot")
|
| 335 |
with gr.Row():
|
| 336 |
+
txt_left = gr.Textbox(show_label=False, placeholder="Type your message here...")
|
| 337 |
send_left = gr.Button("Send")
|
| 338 |
dd_left = gr.Dropdown(choices=PREDEFINED, label="Quick prompts (left)", interactive=True)
|
| 339 |
def set_input_left(selected):
|
|
|
|
| 349 |
gr.Markdown("### With Attention Model")
|
| 350 |
chatbot_right = gr.Chatbot(label="Attention Chatbot")
|
| 351 |
with gr.Row():
|
| 352 |
+
txt_right = gr.Textbox(show_label=False, placeholder="Type your message here...")
|
| 353 |
send_right = gr.Button("Send")
|
| 354 |
dd_right = gr.Dropdown(choices=PREDEFINED, label="Quick prompts (right)", interactive=True)
|
| 355 |
def set_input_right(selected):
|