jenkim25 commited on
Commit
5eece0b
·
verified ·
1 Parent(s): dbcbeb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -138,7 +138,10 @@ with gr.Blocks(css=custom_css) as demo:
138
  gr.Markdown("Interact with the AI chatbot using customizable settings below.")
139
 
140
  with gr.Row():
141
- system_message = gr.Textbox(value="You are a friendly Chatbot.", label="System message", interactive=True)
 
 
 
142
  use_local_model = gr.Checkbox(label="Use Local Model", value=False)
143
 
144
  with gr.Row():
 
138
  gr.Markdown("Interact with the AI chatbot using customizable settings below.")
139
 
140
  with gr.Row():
141
+ level = gr.Dropdown(choices=["elementary school", "middle school", "high school", "college"])
142
+
143
+ with gr.Row():
144
+ system_message = gr.Textbox(value=f"You are a friendly Chatbot. Please give answers at a {level} level", label="System message", interactive=True)
145
  use_local_model = gr.Checkbox(label="Use Local Model", value=False)
146
 
147
  with gr.Row():