Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ with gr.Blocks() as app:
|
|
150 |
stop_button=gr.Button("Stop")
|
151 |
clear_btn = gr.Button("Clear")
|
152 |
with gr.Row():
|
153 |
-
tokens=
|
154 |
json_out=gr.JSON()
|
155 |
e_box=gr.Textbox()
|
156 |
#text=gr.JSON()
|
|
|
150 |
stop_button=gr.Button("Stop")
|
151 |
clear_btn = gr.Button("Clear")
|
152 |
with gr.Row():
|
153 |
+
tokens = gr.Slider(label="Max new tokens",value=1048,minimum=0,maximum=1048*10,step=64,interactive=True,info="The maximum numbers of new tokens")
|
154 |
json_out=gr.JSON()
|
155 |
e_box=gr.Textbox()
|
156 |
#text=gr.JSON()
|