Spaces:
Sleeping
Sleeping
JCai
commited on
Commit
•
a5163eb
1
Parent(s):
3e78891
fix bug
Browse files
app.py
CHANGED
@@ -211,8 +211,7 @@ with gr.Blocks(css=custom_css) as demo:
|
|
211 |
|
212 |
with gr.Row():
|
213 |
system_message = gr.Textbox(value="You are a friendly and playful cat who loves help users learn math.", label="System message", interactive=True)
|
214 |
-
|
215 |
-
use_local_model = 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")
|
|
|
211 |
|
212 |
with gr.Row():
|
213 |
system_message = gr.Textbox(value="You are a friendly and playful cat who loves help users learn math.", label="System message", interactive=True)
|
214 |
+
use_local_model = gr.Checkbox(label="Use Local Model", value=False)
|
|
|
215 |
# button_1 = gr.Button("Submit", variant="primary")
|
216 |
with gr.Row():
|
217 |
max_tokens = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens")
|