imbajin commented on issue #176:
URL: 
https://github.com/apache/incubator-hugegraph-ai/issues/176#issuecomment-2687375850

   > 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 : 
[gradio.app/docs/gradio/blocks](https://www.gradio.app/docs/gradio/blocks) 
[gradio.app/docs/gradio/button](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().
   
   @Kryst4lDem0ni4s I think both fine for us, we can first use the global 
settings in Blocks, modify the Button if we need to set it independently:)
   


-- 
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

Reply via email to