Spaces:
Sleeping
Sleeping
Set concurrency_limit for stream to 1 to prevent overlapping executions
Browse files- src/app.py +1 -1
src/app.py
CHANGED
@@ -208,7 +208,7 @@ with gr.Blocks(
|
|
208 |
ReplyOnPause(translate_audio),
|
209 |
inputs=[audio, target_lang],
|
210 |
outputs=[audio],
|
211 |
-
|
212 |
)
|
213 |
|
214 |
# Sticky footer (will stay at bottom on all screen sizes)
|
|
|
208 |
ReplyOnPause(translate_audio),
|
209 |
inputs=[audio, target_lang],
|
210 |
outputs=[audio],
|
211 |
+
concurrency_limit=1, # Important: Set to 1 to prevent overlapping executions
|
212 |
)
|
213 |
|
214 |
# Sticky footer (will stay at bottom on all screen sizes)
|