Update app.py
Browse files
app.py
CHANGED
|
@@ -79,8 +79,6 @@ def clear_chat():
|
|
| 79 |
with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
|
| 80 |
# "Bộ nhớ" ẩn để lưu lịch sử ChatML (list of dicts)
|
| 81 |
internal_history = gr.State()
|
| 82 |
-
|
| 83 |
-
gr.Markdown("# 💬 Xyntrai-Mistral 2.5 7B (Có trí nhớ)")
|
| 84 |
|
| 85 |
with gr.Row():
|
| 86 |
with gr.Column(scale=3):
|
|
@@ -107,7 +105,7 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
|
|
| 107 |
# Ô System Prompt
|
| 108 |
system_prompt_box = gr.Textbox(
|
| 109 |
label="System Prompt (AI's Role & Rules)",
|
| 110 |
-
value=
|
| 111 |
lines=30
|
| 112 |
)
|
| 113 |
|
|
|
|
| 79 |
with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
|
| 80 |
# "Bộ nhớ" ẩn để lưu lịch sử ChatML (list of dicts)
|
| 81 |
internal_history = gr.State()
|
|
|
|
|
|
|
| 82 |
|
| 83 |
with gr.Row():
|
| 84 |
with gr.Column(scale=3):
|
|
|
|
| 105 |
# Ô System Prompt
|
| 106 |
system_prompt_box = gr.Textbox(
|
| 107 |
label="System Prompt (AI's Role & Rules)",
|
| 108 |
+
value="",
|
| 109 |
lines=30
|
| 110 |
)
|
| 111 |
|