Spaces:
Runtime error
Runtime error
Commit
·
608ee8d
1
Parent(s):
372c304
Update app.py
Browse files
app.py
CHANGED
@@ -239,7 +239,7 @@ with gr.Blocks(css="""#chatbot { font-size: 14px; min-height: 800px; }""") as de
|
|
239 |
with gr.Group():
|
240 |
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>')
|
241 |
openAI_key = gr.Textbox(label='Enter your OpenAI API key here', password=True)
|
242 |
-
url = gr.Textbox(label='Enter PDF URL here')
|
243 |
gr.Markdown("<center><h4>OR<h4></center>")
|
244 |
file = gr.File(label='Upload your PDF/ Research Paper / Book here', file_types=['.pdf'])
|
245 |
question = gr.Textbox(label='Enter your question here')
|
|
|
239 |
with gr.Group():
|
240 |
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>')
|
241 |
openAI_key = gr.Textbox(label='Enter your OpenAI API key here', password=True)
|
242 |
+
url = gr.Textbox(label='Enter PDF URL here (Example: https://arxiv.org/pdf/1706.03762.pdf )')
|
243 |
gr.Markdown("<center><h4>OR<h4></center>")
|
244 |
file = gr.File(label='Upload your PDF/ Research Paper / Book here', file_types=['.pdf'])
|
245 |
question = gr.Textbox(label='Enter your question here')
|