Update app.py
Browse files
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 |
-
|
|
|
|
|
|
|
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():
|