mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-12 12:40:29 +08:00
helpers
This commit is contained in:
parent
ca7cd79e7b
commit
f57b9850d4
@ -138,7 +138,7 @@ class Examples:
|
||||
self.cache_examples = False
|
||||
if cache_examples is None:
|
||||
if (
|
||||
os.getenv("GRADIO_CACHE_EXAMPLES", "").lower() == "true"
|
||||
os.getenv("GRADIO_CACHE_EXAMPLES", "").lower() in ["true", "lazy"]
|
||||
and fn is not None
|
||||
and outputs is not None
|
||||
):
|
||||
|
Loading…
x
Reference in New Issue
Block a user