Spaces:
Running
Running
fix
Browse files
app.py
CHANGED
@@ -749,7 +749,11 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
749 |
|
750 |
# Launch with increased max_threads
|
751 |
if __name__ == "__main__":
|
752 |
-
demo.queue(max_size=50).launch(
|
|
|
|
|
|
|
|
|
753 |
server_name="0.0.0.0",
|
754 |
max_threads=16, # Increase thread count for better concurrency
|
755 |
)
|
|
|
749 |
|
750 |
# Launch with increased max_threads
|
751 |
if __name__ == "__main__":
|
752 |
+
# demo.queue(max_size=50).launch(
|
753 |
+
# server_name="0.0.0.0",
|
754 |
+
# max_threads=16, # Increase thread count for better concurrency
|
755 |
+
# )
|
756 |
+
demo.queue(max_size=4).launch(
|
757 |
server_name="0.0.0.0",
|
758 |
max_threads=16, # Increase thread count for better concurrency
|
759 |
)
|