CCockrum commited on
Commit
846f316
·
verified ·
1 Parent(s): 363ecd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -14,8 +14,10 @@ body {
14
  padding: 2rem;
15
  border-radius: 12px;
16
  max-width: 700px;
 
17
  margin: auto;
18
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
 
19
  }
20
  """
21
 
@@ -54,6 +56,7 @@ def respond(
54
 
55
  with gr.Blocks(css=css) as demo:
56
  with gr.Column(elem_id="chat-panel"):
 
57
  with gr.Accordion("⚙️ Settings", open=False):
58
  system_message = gr.Textbox(value="You are a friendly Chatbot.", label="System message")
59
  max_tokens = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens")
 
14
  padding: 2rem;
15
  border-radius: 12px;
16
  max-width: 700px;
17
+ height: 90vh;
18
  margin: auto;
19
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
20
+ overflow-y: auto;
21
  }
22
  """
23
 
 
56
 
57
  with gr.Blocks(css=css) as demo:
58
  with gr.Column(elem_id="chat-panel"):
59
+ gr.Markdown("## 🇫🇷 French Tutor")
60
  with gr.Accordion("⚙️ Settings", open=False):
61
  system_message = gr.Textbox(value="You are a friendly Chatbot.", label="System message")
62
  max_tokens = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens")