Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ body {
|
|
23 |
overflow-y: auto;
|
24 |
}
|
25 |
#.gradio-container .chatbot .header {
|
26 |
-
color: #
|
27 |
font-family: 'Noto Sans', serif !important;
|
28 |
font-size: 1.8rem !important;
|
29 |
font-weight: bold !important;
|
@@ -67,11 +67,10 @@ def respond(
|
|
67 |
|
68 |
with gr.Blocks(css=css) as demo:
|
69 |
with gr.Column(elem_id="chat-panel"):
|
70 |
-
gr.Markdown("## 🇯🇵 Japanese
|
71 |
|
72 |
with gr.Accordion("⚙️ Settings", open=False):
|
73 |
system_message = gr.Textbox(
|
74 |
-
value="You are an expert Japanese tutor. Help users understand Japanese grammar, vocabulary, sentence structure, particles, and kanji readings. Reply clearly in English unless the user specifies otherwise.",
|
75 |
label="System message"
|
76 |
)
|
77 |
max_tokens = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens")
|
|
|
23 |
overflow-y: auto;
|
24 |
}
|
25 |
#.gradio-container .chatbot .header {
|
26 |
+
color: #c785a0; !important;
|
27 |
font-family: 'Noto Sans', serif !important;
|
28 |
font-size: 1.8rem !important;
|
29 |
font-weight: bold !important;
|
|
|
67 |
|
68 |
with gr.Blocks(css=css) as demo:
|
69 |
with gr.Column(elem_id="chat-panel"):
|
70 |
+
gr.Markdown("## 🇯🇵 Japanese Instructor", elem_id="chat-title")
|
71 |
|
72 |
with gr.Accordion("⚙️ Settings", open=False):
|
73 |
system_message = gr.Textbox(
|
|
|
74 |
label="System message"
|
75 |
)
|
76 |
max_tokens = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens")
|