CCockrum commited on
Commit
89e4f86
·
verified ·
1 Parent(s): f1e046e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -23,7 +23,7 @@ body {
23
  overflow-y: auto;
24
  }
25
  #.gradio-container .chatbot .header {
26
- color: #2c3e50; !important;
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 Tutor Chatbot", elem_id="chat-title")
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")