Commit
·
1ad16ff
1
Parent(s):
b1c7321
Update app launch configuration to support server-side rendering and increase max threads
Browse files
app.py
CHANGED
@@ -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)
|
|
|
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)
|