Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -242,12 +242,11 @@ if __name__ == "__main__":
|
|
| 242 |
app.queue(
|
| 243 |
status_update_rate="auto",
|
| 244 |
api_open=False, # Disable public API access for security
|
| 245 |
-
default_concurrency_limit=
|
| 246 |
)
|
| 247 |
app.launch(
|
| 248 |
show_api=False,
|
| 249 |
enable_monitoring=False,
|
| 250 |
quiet=True,
|
| 251 |
-
max_threads=40, # Increase thread pool for better performance
|
| 252 |
ssr_mode=True
|
| 253 |
)
|
|
|
|
| 242 |
app.queue(
|
| 243 |
status_update_rate="auto",
|
| 244 |
api_open=False, # Disable public API access for security
|
| 245 |
+
default_concurrency_limit=None # Allow multiple concurrent requests
|
| 246 |
)
|
| 247 |
app.launch(
|
| 248 |
show_api=False,
|
| 249 |
enable_monitoring=False,
|
| 250 |
quiet=True,
|
|
|
|
| 251 |
ssr_mode=True
|
| 252 |
)
|