Spaces:
Sleeping
Sleeping
th8m0z
commited on
Commit
•
2f4a12b
1
Parent(s):
499403a
passwort visibility
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ with gr.Blocks(css="""#chatbot { font-size: 14px; min-height: 1200; }""") as dem
|
|
30 |
with gr.Group():
|
31 |
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>')
|
32 |
with gr.Accordion("API Key"):
|
33 |
-
openAI_key = gr.Textbox(label='Enter your OpenAI API key here')
|
34 |
url = gr.Textbox(label='Enter PDF URL here (Example: https://arxiv.org/pdf/1706.03762.pdf )')
|
35 |
gr.Markdown("<center><h4>OR<h4></center>")
|
36 |
files = gr.File(label='Upload your PDF/ Research Paper / Book here', file_types=['.pdf'], file_count="multiple")
|
|
|
30 |
with gr.Group():
|
31 |
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>')
|
32 |
with gr.Accordion("API Key"):
|
33 |
+
openAI_key = gr.Textbox(label='Enter your OpenAI API key here', type='password')
|
34 |
url = gr.Textbox(label='Enter PDF URL here (Example: https://arxiv.org/pdf/1706.03762.pdf )')
|
35 |
gr.Markdown("<center><h4>OR<h4></center>")
|
36 |
files = gr.File(label='Upload your PDF/ Research Paper / Book here', file_types=['.pdf'], file_count="multiple")
|