Omnibus commited on
Commit
9c0b78f
1 Parent(s): 29d19b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=True,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)
 
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)