Update app.py
Browse files
app.py
CHANGED
@@ -212,7 +212,7 @@ if __name__ == "__main__":
|
|
212 |
input_text = gr.Textbox(
|
213 |
lines=6,
|
214 |
label="Input Text (for summarization)",
|
215 |
-
placeholder="Enter text to
|
216 |
)
|
217 |
gr.Markdown("Upload your own file:")
|
218 |
with gr.Row():
|
@@ -228,7 +228,7 @@ if __name__ == "__main__":
|
|
228 |
with gr.Column():
|
229 |
gr.Markdown("## Generate Summary")
|
230 |
gr.Markdown(
|
231 |
-
"Summary generation should take approximately 1-2 minutes for most settings."
|
232 |
)
|
233 |
summarize_button = gr.Button(
|
234 |
"Summarize!",
|
@@ -238,7 +238,7 @@ if __name__ == "__main__":
|
|
238 |
output_text = gr.HTML("<p><em>Output will appear below:</em></p>")
|
239 |
gr.Markdown("### Summary Output")
|
240 |
summary_text = gr.Textbox(
|
241 |
-
label="Summary", placeholder="The generated
|
242 |
)
|
243 |
gr.Markdown(
|
244 |
"The summary scores can be thought of as representing the quality of the summary. less-negative numbers (closer to 0) are better:"
|
|
|
212 |
input_text = gr.Textbox(
|
213 |
lines=6,
|
214 |
label="Input Text (for summarization)",
|
215 |
+
placeholder="Enter any scientific text to be condensed into a long and comprehensive digested format or an extreme TLDR summary version, the text will be preprocessed and truncated if necessary to fit within the computational constraints. The models were trained to handle long scientific papers but generalize reasonably well also to shorter text documents like abstracts with an appropriate. Might take a while to produce long summaries :)",
|
216 |
)
|
217 |
gr.Markdown("Upload your own file:")
|
218 |
with gr.Row():
|
|
|
228 |
with gr.Column():
|
229 |
gr.Markdown("## Generate Summary")
|
230 |
gr.Markdown(
|
231 |
+
"Summary generation should take approximately 1-2 minutes for most generation settings."
|
232 |
)
|
233 |
summarize_button = gr.Button(
|
234 |
"Summarize!",
|
|
|
238 |
output_text = gr.HTML("<p><em>Output will appear below:</em></p>")
|
239 |
gr.Markdown("### Summary Output")
|
240 |
summary_text = gr.Textbox(
|
241 |
+
label="Summary π", placeholder="The generated π will appear here"
|
242 |
)
|
243 |
gr.Markdown(
|
244 |
"The summary scores can be thought of as representing the quality of the summary. less-negative numbers (closer to 0) are better:"
|