Update app.py
Browse files
app.py
CHANGED
@@ -247,7 +247,7 @@ DEFAULT_THEME = {
|
|
247 |
def format_history(history):
|
248 |
messages = [{
|
249 |
"role": "system",
|
250 |
-
"content": "You are a helpful assistant.",
|
251 |
}]
|
252 |
for item in history:
|
253 |
if item["role"] == "user":
|
@@ -717,8 +717,8 @@ with gr.Blocks(css=css, fill_width=True) as demo:
|
|
717 |
flexShrink=0)),
|
718 |
variant="borderless",
|
719 |
title=get_text(
|
720 |
-
"Hello, I'm
|
721 |
-
"你好,我是
|
722 |
description=get_text(
|
723 |
"You can type text to get started.",
|
724 |
"你可以输入文本开始对话。"),
|
|
|
247 |
def format_history(history):
|
248 |
messages = [{
|
249 |
"role": "system",
|
250 |
+
"content": "You are a helpful assistant named Flare.",
|
251 |
}]
|
252 |
for item in history:
|
253 |
if item["role"] == "user":
|
|
|
717 |
flexShrink=0)),
|
718 |
variant="borderless",
|
719 |
title=get_text(
|
720 |
+
"Hello, I'm Flare.",
|
721 |
+
"你好,我是 Flare."),
|
722 |
description=get_text(
|
723 |
"You can type text to get started.",
|
724 |
"你可以输入文本开始对话。"),
|