Spaces:
Running
Running
add policy (#8)
Browse files- add policy (53875945c920c071e687792e4411885224838621)
Co-authored-by: Hui Su <aaronsu@users.noreply.huggingface.co>
app.py
CHANGED
@@ -124,3 +124,45 @@ def completion():
|
|
124 |
|
125 |
if st.button('立即生成'):
|
126 |
completion()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
|
125 |
if st.button('立即生成'):
|
126 |
completion()
|
127 |
+
|
128 |
+
|
129 |
+
footer="""<style>
|
130 |
+
|
131 |
+
a:link , a:visited{
|
132 |
+
background-color: transparent;
|
133 |
+
text-decoration: none;
|
134 |
+
color: rgb(7 6 17);
|
135 |
+
}
|
136 |
+
|
137 |
+
a:hover, a:active {
|
138 |
+
background-color: transparent;
|
139 |
+
text-decoration: underline;
|
140 |
+
}
|
141 |
+
|
142 |
+
p {
|
143 |
+
font-size:12px;
|
144 |
+
}
|
145 |
+
|
146 |
+
.footer {
|
147 |
+
position: relative;
|
148 |
+
left: 0;
|
149 |
+
bottom: 0;
|
150 |
+
width: 100%;
|
151 |
+
background-color: white;
|
152 |
+
color: rgb(18 19 23 / 80%);
|
153 |
+
text-align: left;
|
154 |
+
}
|
155 |
+
</style>
|
156 |
+
<div class="footer">
|
157 |
+
<br>
|
158 |
+
<br>
|
159 |
+
<br>
|
160 |
+
<br>
|
161 |
+
<br>
|
162 |
+
<p style="font-size:12px">免责声明(受<a href="https://beta.openai.com/docs/usage-guidelines/content-policy" target="_blank"> OpenAI GPT3's Content Policy </a>启发)</p>
|
163 |
+
|
164 |
+
<p>我们禁止用户在知情的情况下产生或利用他人在知情的情况下产生有害内容,包括且不限于仇恨言论、骚扰信息、自我伤害内容、性内容、政治内容、垃圾邮件、诈骗信息等。<br>
|
165 |
+
特别提示:本网页上产生的所有内容不代表本平台的观点和意见。<br>
|
166 |
+
欲了解更多信息,请阅读我们的<a href="https://welm.weixin.qq.com/docs/license/" target="_blank">《服务使用协议》和《免责声明》</a>。</p>
|
167 |
+
</div>
|
168 |
+
"""
|