Update app.py
Browse files
app.py
CHANGED
|
@@ -74,7 +74,7 @@ with gr.Blocks() as demo:
|
|
| 74 |
gr.Markdown("# PDF Q&A with ChatGroq and LangChain")
|
| 75 |
|
| 76 |
with gr.Row():
|
| 77 |
-
pdf_input = gr.File(label="Upload PDF", type="
|
| 78 |
question_input = gr.Textbox(label="Ask a question", placeholder="Type your question here...")
|
| 79 |
|
| 80 |
output = gr.Textbox(label="Answer", interactive=False)
|
|
|
|
| 74 |
gr.Markdown("# PDF Q&A with ChatGroq and LangChain")
|
| 75 |
|
| 76 |
with gr.Row():
|
| 77 |
+
pdf_input = gr.File(label="Upload PDF", type="filepath")
|
| 78 |
question_input = gr.Textbox(label="Ask a question", placeholder="Type your question here...")
|
| 79 |
|
| 80 |
output = gr.Textbox(label="Answer", interactive=False)
|