Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -394,14 +394,8 @@ with gr.Blocks() as app:
|
|
394 |
with gr.Row():
|
395 |
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")
|
396 |
with gr.Column(scale=1):
|
397 |
-
char_stats=gr.Textbox(
|
398 |
json_out=gr.JSON()
|
399 |
-
textboxes = []
|
400 |
-
if opts:
|
401 |
-
textboxes.clear()
|
402 |
-
for i in range(len(opts)-1):
|
403 |
-
t = gr.Button(f"{opts[i]}")
|
404 |
-
textboxes.append(t)
|
405 |
#text=gr.JSON()
|
406 |
#inp_query.change(search_models,inp_query,models_dd)
|
407 |
#test_b=test_btn.click(itt,url,e_box)
|
|
|
394 |
with gr.Row():
|
395 |
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")
|
396 |
with gr.Column(scale=1):
|
397 |
+
char_stats=gr.Textbox()
|
398 |
json_out=gr.JSON()
|
|
|
|
|
|
|
|
|
|
|
|
|
399 |
#text=gr.JSON()
|
400 |
#inp_query.change(search_models,inp_query,models_dd)
|
401 |
#test_b=test_btn.click(itt,url,e_box)
|