Update app.py
Browse files
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 =
|
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
|
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(
|