bhaskartripathi commited on
Commit
858064d
1 Parent(s): 72275cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -248,9 +248,9 @@ with gr.Blocks(css="""#chatbot { font-size: 14px; min-height: 1200; }""") as dem
248
  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>')
249
  with gr.Accordion("API Key"):
250
  openAI_key = gr.Textbox(label='Enter your OpenAI API key here', password=True)
251
- url = gr.Textbox(label='Enter PDF URL here (Example: https://arxiv.org/pdf/1706.06722.pdf )')
252
- gr.Markdown("<center><h4>OR<h4></center>")
253
- file = gr.File(label='Upload your PDF/ Research Paper / Book here', file_types=['.pdf'])
254
  question = gr.Textbox(label='Enter your question here')
255
  gr.Examples(
256
  [[q] for q in questions],
 
248
  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>')
249
  with gr.Accordion("API Key"):
250
  openAI_key = gr.Textbox(label='Enter your OpenAI API key here', password=True)
251
+ url = gr.Textbox(label='Enter PDF URL here (Example: https://arxiv.org/pdf/1706.03762.pdf )')
252
+ gr.Markdown("<center><h4>OR<h4></center>")
253
+ file = gr.File(label='Upload your PDF/ Research Paper / Book here', file_types=['.pdf'])
254
  question = gr.Textbox(label='Enter your question here')
255
  gr.Examples(
256
  [[q] for q in questions],