Spaces:
Runtime error
Runtime error
Fix CACHE_EXAMPLES
Browse files
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
|