smakamali commited on
Commit
3994376
1 Parent(s): 93ff665

set summary words to 200

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=100,label="Length of the summary")
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