raannakasturi commited on
Commit
18734a4
·
1 Parent(s): 1ad16ff

Update app description and modify launch parameters for TextRank summarizer

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,7 +43,7 @@ with gr.Blocks(theme=theme, title="TextRank Summarizer", fill_height=True) as ap
43
  gr.HTML(
44
  value ='''
45
  <h1 style="text-align: center;">TextRank Summarizer</h1>
46
- <p style="text-align: center;">This app uses a TextRank approach to summarize PDF documents based on CPU as well as GPU.</p>
47
  <p style="text-align: center;">The summarization process can take some time depending on the size of the text corpus and the complexity of the content.</p>
48
  ''')
49
  with gr.Row():
@@ -68,4 +68,4 @@ with gr.Blocks(theme=theme, title="TextRank Summarizer", fill_height=True) as ap
68
 
69
  nltk.download('punkt', quiet=True)
70
  nltk.download('punkt_tab', quiet=True)
71
- app.queue(default_concurrency_limit=25).launch(show_api=True, ssr=False, max_threads=500)
 
43
  gr.HTML(
44
  value ='''
45
  <h1 style="text-align: center;">TextRank Summarizer</h1>
46
+ <p style="text-align: center;">This app uses a TextRank approach to summarize PDF documents based on CPU.</p>
47
  <p style="text-align: center;">The summarization process can take some time depending on the size of the text corpus and the complexity of the content.</p>
48
  ''')
49
  with gr.Row():
 
68
 
69
  nltk.download('punkt', quiet=True)
70
  nltk.download('punkt_tab', quiet=True)
71
+ app.queue(default_concurrency_limit=25).launch(show_api=True, max_threads=500, ssr_mode=False)