Kexin2000 commited on
Commit
81728a3
1 Parent(s): b9a0194

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ with gr.Blocks(css="""#chatbot { font-size: 14px; min-height: 1200; }""") as dem
88
  with gr.Group():
89
  gr.Markdown(f'<p style="text-align:center">在这里获取您的Open AI API密钥 <a href="https://platform.openai.com/account/api-keys">here</a></p>')
90
  with gr.Accordion("API Key"):
91
- openAI_key = gr.Textbox(label='在此输入您的OpenAI API密钥', password=True)
92
  url = gr.Textbox(label='在此输入PDF的URL (示例: https://arxiv.org/pdf/1706.03762.pdf )')
93
  gr.Markdown("<center><h4>或<h4></center>")
94
  file = gr.File(label='在此上传您的PDF/研究论文/书籍', file_types=['.pdf'])
 
88
  with gr.Group():
89
  gr.Markdown(f'<p style="text-align:center">在这里获取您的Open AI API密钥 <a href="https://platform.openai.com/account/api-keys">here</a></p>')
90
  with gr.Accordion("API Key"):
91
+ openAI_key = gr.Textbox(label='在此输入您的OpenAI API密钥')
92
  url = gr.Textbox(label='在此输入PDF的URL (示例: https://arxiv.org/pdf/1706.03762.pdf )')
93
  gr.Markdown("<center><h4>或<h4></center>")
94
  file = gr.File(label='在此上传您的PDF/研究论文/书籍', file_types=['.pdf'])