jenkim25 commited on
Commit
37e7071
Β·
verified Β·
1 Parent(s): 4293cb3

changing temp, title, caterpillar

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -136,8 +136,9 @@ custom_css = """
136
 
137
  # Define the interface
138
  with gr.Blocks(css=custom_css) as demo:
139
- gr.Markdown("<h1 style='text-align: center;'>🌟 Fancy AI Chatbot 🌟</h1>")
140
- gr.Markdown("Interact with the AI chatbot using customizable settings below.")
 
141
 
142
 
143
 
@@ -157,7 +158,7 @@ with gr.Blocks(css=custom_css) as demo:
157
 
158
  with gr.Row():
159
  max_tokens = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens")
160
- temperature = gr.Slider(minimum=0.5, maximum=4.0, value=0.7, step=0.1, label="Temperature")
161
  top_p = gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)")
162
 
163
  chat_history = gr.Chatbot(label="Chat")
 
136
 
137
  # Define the interface
138
  with gr.Blocks(css=custom_css) as demo:
139
+ gr.Markdown("<h1 style='text-align: center;'>🍎✏️ School AI Chatbot ✏️🍎</h1>")
140
+ gr.Markdown("<h3 style='text-align: center;'>πŸ›</h3>"))
141
+ gr.Markdown("Interact with Wormington Scholar by selecting the appropriate level below.")
142
 
143
 
144
 
 
158
 
159
  with gr.Row():
160
  max_tokens = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens")
161
+ temperature = gr.Slider(minimum=0.5, maximum=4.0, value=1.2, step=0.1, label="Temperature")
162
  top_p = gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)")
163
 
164
  chat_history = gr.Chatbot(label="Chat")