deinferno commited on
Commit
7b8f80d
·
1 Parent(s): 19d373e

Fix CACHE_EXAMPLES

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -30,6 +30,7 @@ Distilled from [Dreamshaper v7](https://huggingface.co/Lykon/dreamshaper-7) fine
30
  '''
31
 
32
  MAX_SEED = np.iinfo(np.int32).max
 
33
 
34
  model_id = "deinferno/LCM_Dreamshaper_v7-openvino"
35
  batch_size = 1
 
30
  '''
31
 
32
  MAX_SEED = np.iinfo(np.int32).max
33
+ CACHE_EXAMPLES = os.getenv("CACHE_EXAMPLES") == "1"
34
 
35
  model_id = "deinferno/LCM_Dreamshaper_v7-openvino"
36
  batch_size = 1