Spaces:
Sleeping
Sleeping
set summary words to 200
Browse files
app.py
CHANGED
@@ -364,7 +364,7 @@ with gr.Blocks() as demo:
|
|
364 |
# use_llm_api = gr.Checkbox(label="Summarize using the HuggingFaceHub API.",visible=True)
|
365 |
do_sample = gr.Checkbox(label="Set the Temperature",value=False,visible=True)
|
366 |
temperature = gr.Slider(minimum=0.01,maximum=1.0,value=0.25,label="Generation temperature",visible=False)
|
367 |
-
words = gr.Slider(minimum=100,maximum=500,value=
|
368 |
|
369 |
gr.Markdown("# Results")
|
370 |
|
|
|
364 |
# use_llm_api = gr.Checkbox(label="Summarize using the HuggingFaceHub API.",visible=True)
|
365 |
do_sample = gr.Checkbox(label="Set the Temperature",value=False,visible=True)
|
366 |
temperature = gr.Slider(minimum=0.01,maximum=1.0,value=0.25,label="Generation temperature",visible=False)
|
367 |
+
words = gr.Slider(minimum=100,maximum=500,value=200,label="Length of the summary")
|
368 |
|
369 |
gr.Markdown("# Results")
|
370 |
|