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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 summarize, the text will be cleaned and truncated on Spaces. Narrative, academic (both papers and lecture transcription), and article text work well. May take a bit to generate depending on the input text :)",
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 summary 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:"
 
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:"