bhaskartripathi commited on
Commit
8468a99
·
1 Parent(s): 9ee2d52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -176,7 +176,8 @@ with gr.Blocks() as demo:
176
  with gr.Group():
177
  gr.Markdown(f'<p style="text-align:center">Get your Open AI API key <a href="https://platform.openai.com/account/api-keys">here</a></p>')
178
  openAI_key = gr.inputs.Textbox(label='Enter your OpenAI API key here')
179
- files = gr.inputs.File(file_count="multiple", accept=".pdf", label="Upload PDF files")
 
180
  question = gr.inputs.Textbox(label='Enter your question here')
181
  btn = gr.Button(value='Submit')
182
 
 
176
  with gr.Group():
177
  gr.Markdown(f'<p style="text-align:center">Get your Open AI API key <a href="https://platform.openai.com/account/api-keys">here</a></p>')
178
  openAI_key = gr.inputs.Textbox(label='Enter your OpenAI API key here')
179
+ #files = gr.inputs.File(file_count="multiple", accept=".pdf", label="Upload PDF files")
180
+ files = gr.File(label = "Upload .pdf documents.", file_count="multiple")
181
  question = gr.inputs.Textbox(label='Enter your question here')
182
  btn = gr.Button(value='Submit')
183