Spaces:
Runtime error
Runtime error
bhaskartripathi
commited on
Commit
•
8cac9d6
1
Parent(s):
ad9296a
Update app.py
Browse files
app.py
CHANGED
@@ -247,7 +247,7 @@ with gr.Blocks(css="""#chatbot { font-size: 14px; min-height: 1200; }""") as dem
|
|
247 |
with gr.Group():
|
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'
|
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'])
|
|
|
247 |
with gr.Group():
|
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')
|
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'])
|