Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -67,7 +67,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 67 |
with gr.Column():
|
| 68 |
pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="file")
|
| 69 |
load_pdf = gr.Button("Load PDF")
|
| 70 |
-
|
| 71 |
langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
| 72 |
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
|
| 73 |
question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter ")
|
|
|
|
| 67 |
with gr.Column():
|
| 68 |
pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="file")
|
| 69 |
load_pdf = gr.Button("Load PDF")
|
| 70 |
+
Books = gr.Dropdown(label="Books", choices=["Book 1", "Book 2", "Book 3"], value=["Book 1", "Book 2", "Book 3"])
|
| 71 |
langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
| 72 |
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
|
| 73 |
question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter ")
|