Spaces:
Sleeping
Sleeping
Commit
·
f9e518b
1
Parent(s):
31c19b2
Adding chat clear button
Browse files
app.py
CHANGED
|
@@ -155,9 +155,9 @@ with gr.Blocks(css=css) as demo:
|
|
| 155 |
# with gr.Row():
|
| 156 |
# sources = gr.HTML(value = "Source paragraphs where I looked for answers will appear here", height=300)
|
| 157 |
with gr.Row():
|
| 158 |
-
question = gr.Textbox(label="Type your question
|
| 159 |
submit_btn = gr.Button(value="Send message", variant="primary", scale = 1)
|
| 160 |
-
clean_chat_btn = gr.Button("
|
| 161 |
|
| 162 |
with gr.Column():
|
| 163 |
with gr.Box():
|
|
|
|
| 155 |
# with gr.Row():
|
| 156 |
# sources = gr.HTML(value = "Source paragraphs where I looked for answers will appear here", height=300)
|
| 157 |
with gr.Row():
|
| 158 |
+
question = gr.Textbox(label="Type your question !",lines=1).style(full_width=True)
|
| 159 |
submit_btn = gr.Button(value="Send message", variant="primary", scale = 1)
|
| 160 |
+
clean_chat_btn = gr.Button("Delete Chat")
|
| 161 |
|
| 162 |
with gr.Column():
|
| 163 |
with gr.Box():
|