Spaces:
Runtime error
Runtime error
Update modules/presets.py
Browse files- modules/presets.py +4 -6
modules/presets.py
CHANGED
@@ -31,13 +31,13 @@ INDEX_QUERY_TEMPRATURE = 1.0
|
|
31 |
title = """<h1 align="left" style="min-width:200px; margin-top:0;">川虎ChatGPT 🚀</h1>"""
|
32 |
description = """\
|
33 |
<div align="center" style="margin:16px 0">
|
34 |
-
|
35 |
该ChatGPT由ixiaocang(radish/修兮求索)部署,小白部署耗费了不少时间,请不要乱传,不要过度依赖他哦
|
36 |
-
chatGPT
|
37 |
部署自Bilibili [土川虎虎虎]和 [明昭MZhao]开发的客户端调用版,
|
38 |
-
修习求索 自己的密钥chatGPT在OpenAi
|
|
|
|
|
39 |
所以请收到本人免费送出账户的朋友不要公开分享,恶意传出的话本人会重置密钥
|
40 |
-
|
41 |
此App使用 `gpt-3.5-turbo` 大语言模型
|
42 |
</div>
|
43 |
"""
|
@@ -98,10 +98,8 @@ REPLY_LANGUAGES = [
|
|
98 |
|
99 |
WEBSEARCH_PTOMPT_TEMPLATE = """\
|
100 |
Web search results:
|
101 |
-
|
102 |
{web_results}
|
103 |
Current date: {current_date}
|
104 |
-
|
105 |
Instructions: Using the provided web search results, write a comprehensive reply to the given query. Make sure to cite results using [[number](URL)] notation after the reference. If the provided search results refer to multiple subjects with the same name, write separate answers for each subject.
|
106 |
Query: {query}
|
107 |
Reply in {reply_language}
|
|
|
31 |
title = """<h1 align="left" style="min-width:200px; margin-top:0;">川虎ChatGPT 🚀</h1>"""
|
32 |
description = """\
|
33 |
<div align="center" style="margin:16px 0">
|
|
|
34 |
该ChatGPT由ixiaocang(radish/修兮求索)部署,小白部署耗费了不少时间,请不要乱传,不要过度依赖他哦
|
35 |
+
chatGPT<a href="https://pan.baidu.com/s/1oiz-5k6s-04LEoM8GI8aag?pwd=hzqv" target="_blank" rel="noopener noreferrer">点击看高级使用指南</a>
|
36 |
部署自Bilibili [土川虎虎虎]和 [明昭MZhao]开发的客户端调用版,
|
37 |
+
修习求索 自己的密钥chatGPT在OpenAi是免费程序,但由于国内环境限制几乎无法使用,
|
38 |
+
固使用b站大佬做出的客户端(有很多客户端,但这是非常好用且开源的客户端)调用OpenAI的API使用。
|
39 |
+
API为付费资源:上下文长度为8K(约13页文本)的,将按0.03$/1k prompt tokens,0.06$/1k completion tokens计费。
|
40 |
所以请收到本人免费送出账户的朋友不要公开分享,恶意传出的话本人会重置密钥
|
|
|
41 |
此App使用 `gpt-3.5-turbo` 大语言模型
|
42 |
</div>
|
43 |
"""
|
|
|
98 |
|
99 |
WEBSEARCH_PTOMPT_TEMPLATE = """\
|
100 |
Web search results:
|
|
|
101 |
{web_results}
|
102 |
Current date: {current_date}
|
|
|
103 |
Instructions: Using the provided web search results, write a comprehensive reply to the given query. Make sure to cite results using [[number](URL)] notation after the reference. If the provided search results refer to multiple subjects with the same name, write separate answers for each subject.
|
104 |
Query: {query}
|
105 |
Reply in {reply_language}
|