Spaces:
Sleeping
Sleeping
bhaskartripathi
commited on
Commit
•
62cee25
1
Parent(s):
223ecde
Update app.py
Browse files
app.py
CHANGED
@@ -222,7 +222,8 @@ with gr.Blocks() as demo:
|
|
222 |
|
223 |
with gr.Group():
|
224 |
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>')
|
225 |
-
openAI_key=gr.Textbox(label='Enter your OpenAI API key here')
|
|
|
226 |
url = gr.Textbox(label='Enter PDF URL here')
|
227 |
gr.Markdown("<center><h4>OR<h4></center>")
|
228 |
file = gr.File(label='Upload your PDF/ Research Paper / Book here', file_types=['.pdf'])
|
|
|
222 |
|
223 |
with gr.Group():
|
224 |
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>')
|
225 |
+
#openAI_key=gr.Textbox(label='Enter your OpenAI API key here')
|
226 |
+
openAI_key = gr.Textbox(label='Enter your OpenAI API key here', password=True)
|
227 |
url = gr.Textbox(label='Enter PDF URL here')
|
228 |
gr.Markdown("<center><h4>OR<h4></center>")
|
229 |
file = gr.File(label='Upload your PDF/ Research Paper / Book here', file_types=['.pdf'])
|