Spaces:
Running
on
T4
Running
on
T4
knowsuchagency
commited on
Commit
·
16b3c05
1
Parent(s):
8bf1635
allow for concurrency on generating transcripts
Browse files
main.py
CHANGED
@@ -168,10 +168,13 @@ demo = gr.Interface(
|
|
168 |
allow_flagging=False,
|
169 |
clear_btn=None,
|
170 |
head=os.getenv("HEAD"),
|
171 |
-
concurrency_limit=20,
|
172 |
cache_examples="lazy",
|
173 |
)
|
174 |
|
175 |
-
|
|
|
|
|
|
|
|
|
176 |
show_api=False,
|
177 |
)
|
|
|
168 |
allow_flagging=False,
|
169 |
clear_btn=None,
|
170 |
head=os.getenv("HEAD"),
|
|
|
171 |
cache_examples="lazy",
|
172 |
)
|
173 |
|
174 |
+
|
175 |
+
demo.queue(
|
176 |
+
max_size=20,
|
177 |
+
default_concurrency_limit=20,
|
178 |
+
).launch(
|
179 |
show_api=False,
|
180 |
)
|