Spaces:
Sleeping
Sleeping
Sofia Casadei
commited on
Commit
Β·
c1d862e
1
Parent(s):
2c68b00
add: concurrency
Browse files
main.py
CHANGED
@@ -127,7 +127,7 @@ stream = Stream(
|
|
127 |
],
|
128 |
additional_outputs_handler=lambda current, new: current + " " + new,
|
129 |
rtc_configuration=get_rtc_credentials(provider="hf") if os.getenv("APP_MODE") == "deployed" else None,
|
130 |
-
|
131 |
)
|
132 |
|
133 |
app = FastAPI()
|
|
|
127 |
],
|
128 |
additional_outputs_handler=lambda current, new: current + " " + new,
|
129 |
rtc_configuration=get_rtc_credentials(provider="hf") if os.getenv("APP_MODE") == "deployed" else None,
|
130 |
+
concurrency_limit=6
|
131 |
)
|
132 |
|
133 |
app = FastAPI()
|