Spaces:
Sleeping
Sleeping
JCai
commited on
Commit
•
c165e2e
1
Parent(s):
949197a
remove unuseful widgets
Browse files
app.py
CHANGED
@@ -195,25 +195,25 @@ with gr.Blocks(css=custom_css) as demo:
|
|
195 |
gr.Markdown("<h1 style='text-align: center;'> 😸 Meowthamatical AI Chatbot 😸</h1>")
|
196 |
gr.Markdown(" Interact with the AI chatbot using customizable settings below.")
|
197 |
|
198 |
-
with gr.Row():
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
|
213 |
with gr.Row():
|
214 |
-
system_message = gr.Textbox(value="You are
|
215 |
use_local_model = gr.Checkbox(label="Use Local Model", value=False)
|
216 |
-
button_1 = gr.Button("Submit", variant="primary")
|
217 |
with gr.Row():
|
218 |
max_tokens = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens")
|
219 |
temperature = gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature")
|
|
|
195 |
gr.Markdown("<h1 style='text-align: center;'> 😸 Meowthamatical AI Chatbot 😸</h1>")
|
196 |
gr.Markdown(" Interact with the AI chatbot using customizable settings below.")
|
197 |
|
198 |
+
# with gr.Row():
|
199 |
+
# with gr.Column():
|
200 |
+
# with gr.Tabs() as input_tabs:
|
201 |
+
# with gr.Tab("Sketch"):
|
202 |
+
# input_sketchpad = gr.Sketchpad(type="pil", label="Sketch", layers=False)
|
203 |
+
#
|
204 |
+
# input_text = gr.Textbox(label="input your question")
|
205 |
+
#
|
206 |
+
# with gr.Row():
|
207 |
+
# # with gr.Column():
|
208 |
+
# # clear_btn = gr.ClearButton(
|
209 |
+
# # [input_sketchpad, input_text])
|
210 |
+
# with gr.Column():
|
211 |
+
# submit_btn = gr.Button("Submit", variant="primary")
|
212 |
|
213 |
with gr.Row():
|
214 |
+
system_message = gr.Textbox(value="You are a cat and you love talking about and teaching math.", label="System message", interactive=True)
|
215 |
use_local_model = gr.Checkbox(label="Use Local Model", value=False)
|
216 |
+
# button_1 = gr.Button("Submit", variant="primary")
|
217 |
with gr.Row():
|
218 |
max_tokens = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens")
|
219 |
temperature = gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature")
|