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

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**[系統指示:模型答覆不代表本公司立場,請自行查核事實]**'
181
  yield history
182
 
183
  print('== Record ==\nQuery: {query}\nResponse: {response}'.format(query=repr(message), response=repr(history[-1][1])))