Update app.py
Browse files
app.py
CHANGED
@@ -162,13 +162,18 @@ with gr.Blocks(theme="Nymbo/Alyx_Theme") as demo:
|
|
162 |
|
163 |
with gr.Tab("Chatbot"):
|
164 |
with gr.Row():
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
with gr.Column():
|
166 |
relevant_info = gr.Textbox(
|
167 |
label="Retrieved Information",
|
168 |
interactive=False,
|
169 |
lines=20,
|
170 |
)
|
171 |
-
with gr.Column():
|
172 |
gr.ChatInterface(
|
173 |
fn=generate_response,
|
174 |
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
|
|
162 |
|
163 |
with gr.Tab("Chatbot"):
|
164 |
with gr.Row():
|
165 |
+
# with gr.Column():
|
166 |
+
# relevant_info = gr.Textbox(
|
167 |
+
# label="Retrieved Information",
|
168 |
+
# interactive=False,
|
169 |
+
# lines=20,
|
170 |
+
# )
|
171 |
with gr.Column():
|
172 |
relevant_info = gr.Textbox(
|
173 |
label="Retrieved Information",
|
174 |
interactive=False,
|
175 |
lines=20,
|
176 |
)
|
|
|
177 |
gr.ChatInterface(
|
178 |
fn=generate_response,
|
179 |
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|