Spaces:
Starting
on
T4
Starting
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ with gr.Blocks(css=css) as demo:
|
|
67 |
|
68 |
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
|
69 |
with gr.Row():
|
70 |
-
question = gr.Textbox(
|
71 |
load_pdf.click(loading_pdf, None, langchain_status, queue=False)
|
72 |
load_pdf.click(pdf_changes, pdf_doc, langchain_status, queue=False)
|
73 |
question.submit(add_text, [chatbot, question], [chatbot, question]).then(
|
|
|
67 |
|
68 |
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
|
69 |
with gr.Row():
|
70 |
+
question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter ")
|
71 |
load_pdf.click(loading_pdf, None, langchain_status, queue=False)
|
72 |
load_pdf.click(pdf_changes, pdf_doc, langchain_status, queue=False)
|
73 |
question.submit(add_text, [chatbot, question], [chatbot, question]).then(
|