add label to chat
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import pathlib
|
|
| 4 |
|
| 5 |
import gradio as gr
|
| 6 |
|
| 7 |
-
from src.llm import chat
|
| 8 |
from src.game_state import get_state
|
| 9 |
|
| 10 |
_ROOT = pathlib.Path(__file__).parent
|
|
@@ -278,7 +278,7 @@ with gr.Blocks(title="Focus Buddy") as demo:
|
|
| 278 |
"Just tell me what you need β *\"Start a 25-minute focus session\"* or *\"Add 'write report' to my quests\"* β and I'll handle the rest. Ready when you are! π‘οΈ"
|
| 279 |
)
|
| 280 |
chatbot = gr.Chatbot(
|
| 281 |
-
label="Pip β your RPG Buddy",
|
| 282 |
height=400,
|
| 283 |
elem_id="chatbot-wrap",
|
| 284 |
value=[{"role": "assistant", "content": _GREETING}],
|
|
|
|
| 4 |
|
| 5 |
import gradio as gr
|
| 6 |
|
| 7 |
+
from src.llm import chat, MODEL_ID
|
| 8 |
from src.game_state import get_state
|
| 9 |
|
| 10 |
_ROOT = pathlib.Path(__file__).parent
|
|
|
|
| 278 |
"Just tell me what you need β *\"Start a 25-minute focus session\"* or *\"Add 'write report' to my quests\"* β and I'll handle the rest. Ready when you are! π‘οΈ"
|
| 279 |
)
|
| 280 |
chatbot = gr.Chatbot(
|
| 281 |
+
label=f"Pip β your RPG Buddy ({MODEL_ID})",
|
| 282 |
height=400,
|
| 283 |
elem_id="chatbot-wrap",
|
| 284 |
value=[{"role": "assistant", "content": _GREETING}],
|