Spaces:
Running
Running
cn
Browse files- replace.py +1 -1
replace.py
CHANGED
@@ -2,7 +2,7 @@ with open('main.py', 'r', encoding='utf8') as file:
|
|
2 |
data = file.read()
|
3 |
data.replace(
|
4 |
"gr.HTML(title_html)",
|
5 |
-
"""gr.HTML(title_html); 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将极可能被空间所有者攫取!<br/>支持任意数量的OpenAI
|
6 |
"""
|
7 |
)
|
8 |
|
|
|
2 |
data = file.read()
|
3 |
data.replace(
|
4 |
"gr.HTML(title_html)",
|
5 |
+
"""gr.HTML(title_html); 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将极可能被空间所有者攫取!<br/>支持任意数量的OpenAI的密钥共存,例如输入"OpenAI密钥1",然后提交,即可同时使用两种模型接口。</center>''')
|
6 |
"""
|
7 |
)
|
8 |
|