Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -177,7 +177,7 @@ with gr.Blocks() as demo:
|
|
177 |
yield history
|
178 |
|
179 |
if refusal_condition(history[-1][1]):
|
180 |
-
history[-1][1] = history[-1][1] + '\n\n**[
|
181 |
yield history
|
182 |
|
183 |
print('== Record ==\nQuery: {query}\nResponse: {response}'.format(query=repr(message), response=repr(history[-1][1])))
|
|
|
177 |
yield history
|
178 |
|
179 |
if refusal_condition(history[-1][1]):
|
180 |
+
history[-1][1] = history[-1][1] + '\n\n**[免責聲明: Breeze-7B-Instruct 和 Breeze-7B-Instruct-64k 並未針對問答進行安全保護,因此語言模型的任何回應不代表 MediaTek Research 立場。]**'
|
181 |
yield history
|
182 |
|
183 |
print('== Record ==\nQuery: {query}\nResponse: {response}'.format(query=repr(message), response=repr(history[-1][1])))
|