CCockrum commited on
Commit
8a93e6d
·
verified ·
1 Parent(s): 78d2cad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -1
app.py CHANGED
@@ -83,6 +83,21 @@ body {
83
  color: #222;
84
  margin-bottom: 2rem;
85
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  .gradio-container .chatbot h1 {
87
  color: var(--custom-title-color) !important;
88
  font-family: 'Noto Sans', serif !important;
@@ -94,7 +109,12 @@ body {
94
  }
95
  """) as demo:
96
 
97
- gr.Markdown("日本語の先生 Japanese Instructor", elem_id="custom-title")
 
 
 
 
 
98
 
99
  with gr.Column(elem_id="chat-panel"):
100
  with gr.Accordion("Advanced Settings", open=False):
 
83
  color: #222;
84
  margin-bottom: 2rem;
85
  }
86
+ #title-container {
87
+ background-color: white;
88
+ border-radius: 16px;
89
+ padding: 1.5rem 2rem;
90
+ margin: 2rem auto;
91
+ width: fit-content;
92
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
93
+ text-align: center;
94
+ }
95
+ #title-container h1 {
96
+ font-size: 4rem;
97
+ font-family: 'Noto Sans JP', sans-serif;
98
+ margin: 0;
99
+ color: #111;
100
+ }
101
  .gradio-container .chatbot h1 {
102
  color: var(--custom-title-color) !important;
103
  font-family: 'Noto Sans', serif !important;
 
109
  }
110
  """) as demo:
111
 
112
+ #gr.Markdown("日本語の先生 Japanese Instructor", elem_id="custom-title")
113
+ gr.HTML("""
114
+ <div id="title-container">
115
+ <h2>日本語の先生 Japanese Instructor</h2>
116
+ </div>
117
+ """)
118
 
119
  with gr.Column(elem_id="chat-panel"):
120
  with gr.Accordion("Advanced Settings", open=False):