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