YC-Chen commited on
Commit
d9f6671
1 Parent(s): dd0a033

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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])))