Spaces:
Build error
Build error
雷娃
commited on
Commit
·
bd4890c
1
Parent(s):
6ae7f5a
modify output length
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ with gr.Blocks(css="""
|
|
48 |
)
|
49 |
|
50 |
with gr.Row():
|
51 |
-
max_tokens_slider = gr.Slider(minimum=
|
52 |
|
53 |
# output_box = gr.Textbox(lines=10, label="Response")
|
54 |
output_box = gr.Markdown(label="Response", elem_id="markdown-output")
|
|
|
48 |
)
|
49 |
|
50 |
with gr.Row():
|
51 |
+
max_tokens_slider = gr.Slider(minimum=5000, maximum=10000, step=100, label="Generated length")
|
52 |
|
53 |
# output_box = gr.Textbox(lines=10, label="Response")
|
54 |
output_box = gr.Markdown(label="Response", elem_id="markdown-output")
|