SRINI123 commited on
Commit
da91893
·
verified ·
1 Parent(s): 5a011a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="file")
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)