KanjikaSingh commited on
Commit
be7d807
1 Parent(s): 8175c18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ with gr.Blocks() as demo:
120
  gr.Markdown(about_bot)
121
  with gr.Row():
122
  with gr.Column():
123
- files = gr.Files(label = "Upload PDF Files")
124
  user_input = gr.Textbox(label = "Enter Query")
125
  with gr.Column():
126
  output = gr.Textbox(label = "Chatbot Response")
 
120
  gr.Markdown(about_bot)
121
  with gr.Row():
122
  with gr.Column():
123
+ files = gr.Files(label = "Upload PDF Files", file_types = ['.pdf'])
124
  user_input = gr.Textbox(label = "Enter Query")
125
  with gr.Column():
126
  output = gr.Textbox(label = "Chatbot Response")