Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -162,7 +162,7 @@ with gr.Blocks() as app:
|
|
162 |
stop_button=gr.Button("Stop")
|
163 |
clear_btn = gr.Button("Clear")
|
164 |
with gr.Row():
|
165 |
-
tokens = gr.Slider(label="Max new tokens",value=2096,minimum=0,maximum=1048*10,step=64,interactive=
|
166 |
with gr.Column(scale=1):
|
167 |
json_out=gr.JSON(value=base_stats)
|
168 |
char_stats=gr.Textbox(value=text_stats)
|
|
|
162 |
stop_button=gr.Button("Stop")
|
163 |
clear_btn = gr.Button("Clear")
|
164 |
with gr.Row():
|
165 |
+
tokens = gr.Slider(label="Max new tokens",value=2096,minimum=0,maximum=1048*10,step=64,interactive=False, visible=False,info="The maximum numbers of new tokens")
|
166 |
with gr.Column(scale=1):
|
167 |
json_out=gr.JSON(value=base_stats)
|
168 |
char_stats=gr.Textbox(value=text_stats)
|