Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,7 +76,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 76 |
with gr.Column():
|
| 77 |
pdf_doc = gr.File(label="Load a PDF", file_types=['.pdf'], type="file")
|
| 78 |
load_pdf = gr.Button("Load PDF")
|
| 79 |
-
Books = gr.Dropdown(label="Books", choices=[("Harry Potter and the Philosopher's Stone","Book1") , ("Harry Potter and the Chamber of Secrets","Book2")
|
| 80 |
langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
| 81 |
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
|
| 82 |
question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter ")
|
|
|
|
| 76 |
with gr.Column():
|
| 77 |
pdf_doc = gr.File(label="Load a PDF", file_types=['.pdf'], type="file")
|
| 78 |
load_pdf = gr.Button("Load PDF")
|
| 79 |
+
Books = gr.Dropdown(label="Books", choices=[("Harry Potter and the Philosopher's Stone","Book1") , ("Harry Potter and the Chamber of Secrets","Book2")] )
|
| 80 |
langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
| 81 |
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
|
| 82 |
question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter ")
|