Blaise-g commited on
Commit
d4bf7d4
β€’
1 Parent(s): 9aee3a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,7 +24,7 @@ def proc_submission(
24
  num_beams,
25
  token_batch_length,
26
  length_penalty,
27
- max_input_length: int = 768,
28
  ):
29
  """
30
  proc_submission - a helper function for the gradio module to process submissions
@@ -174,7 +174,7 @@ if __name__ == "__main__":
174
 
175
  gr.Markdown("### Select Summary type and text generation parameters then load input text")
176
  gr.Markdown(
177
- "Enter text below in the text area. The text will be summarized [using the selected parameters](https://huggingface.co/blog/how-to-generate). Optionally load an example below or upload a file."
178
  )
179
  with gr.Row():
180
  model_size = gr.Radio(
 
24
  num_beams,
25
  token_batch_length,
26
  length_penalty,
27
+ max_input_length: int = 1024,
28
  ):
29
  """
30
  proc_submission - a helper function for the gradio module to process submissions
 
174
 
175
  gr.Markdown("### Select Summary type and text generation parameters then load input text")
176
  gr.Markdown(
177
+ "Enter text below in the text area or alternatively load an example below or upload a file."
178
  )
179
  with gr.Row():
180
  model_size = gr.Radio(