Kryst4lDem0ni4s commented on issue #176: URL: https://github.com/apache/incubator-hugegraph-ai/issues/176#issuecomment-2687250092
I found it in the documentation, concurrency_limit: int | None | Literal['default'] default = "default" If set, this is the maximum number of this event that can be running simultaneously. Can be set to None to mean no concurrency_limit (any number of this event can be running simultaneously). Set to "default" to use the default concurrency limit (defined by the `default_concurrency_limit` parameter in `Blocks.queue()`, which itself is 1 by default). Links : https://www.gradio.app/docs/gradio/blocks https://www.gradio.app/docs/gradio/button So the default is 1, otherwise when it is explicitly set to None, it would be unlimited concurrent requests. I am exploring two methods here. The first method is to set this parameter in the button gradio.Button() and the other method is to utilize Blocks with gradio.Blocks(). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@hugegraph.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@hugegraph.apache.org For additional commands, e-mail: issues-h...@hugegraph.apache.org