3v324v23 commited on
Commit
a6028bd
1 Parent(s): 5ae14a3

update note

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -52,7 +52,7 @@ if LAYOUT == "TOP-DOWN":
52
  cancel_handles = []
53
  with gr.Blocks(title="ChatGPT 学术优化", theme=set_theme, analytics_enabled=False, css=advanced_css) as demo:
54
  gr.HTML(title_html)
55
- gr.HTML('''<center><a href="https://huggingface.co/spaces/qingxu98/gpt-academic?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>请您打开此页面后务必点击上方的“复制空间”(Duplicate Space)按钮!<br/>切忌在“复制空间”(Duplicate Space)之前填入API_KEY或进行提问,否则您的API_KEY将极可能被空间所有者攫取!</center>''')
56
  cookies = gr.State({'api_key': API_KEY, 'llm_model': LLM_MODEL})
57
  with gr_L1():
58
  with gr_L2(scale=2):
@@ -62,7 +62,7 @@ with gr.Blocks(title="ChatGPT 学术优化", theme=set_theme, analytics_enabled=
62
  with gr_L2(scale=1):
63
  with gr.Accordion("输入区", open=True) as area_input_primary:
64
  with gr.Row():
65
- txt = gr.Textbox(show_label=False, placeholder="Input question here.").style(container=False)
66
  with gr.Row():
67
  submitBtn = gr.Button("提交", variant="primary")
68
  with gr.Row():
 
52
  cancel_handles = []
53
  with gr.Blocks(title="ChatGPT 学术优化", theme=set_theme, analytics_enabled=False, css=advanced_css) as demo:
54
  gr.HTML(title_html)
55
+ gr.HTML('''<center><a href="https://huggingface.co/spaces/qingxu98/gpt-academic?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>请您打开此页面后务必点击上方的“复制空间”(Duplicate Space)按钮!<font color="#FF00FF">使用时,先在输入框填入API-KEY然后回车。</font><br/>切忌在“复制空间”(Duplicate Space)之前填入API_KEY或进行提问,否则您的API_KEY将极可能被空间所有者攫取!</center>''')
56
  cookies = gr.State({'api_key': API_KEY, 'llm_model': LLM_MODEL})
57
  with gr_L1():
58
  with gr_L2(scale=2):
 
62
  with gr_L2(scale=1):
63
  with gr.Accordion("输入区", open=True) as area_input_primary:
64
  with gr.Row():
65
+ txt = gr.Textbox(show_label=False, placeholder="Input question/api-key here.").style(container=False)
66
  with gr.Row():
67
  submitBtn = gr.Button("提交", variant="primary")
68
  with gr.Row():