Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ model_id = "OpenVINO/LCM_Dreamshaper_v7-int8-ov"
|
|
| 19 |
#pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False, safety_checker=safety_checker)
|
| 20 |
pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False)
|
| 21 |
|
| 22 |
-
batch_size, num_images, height, width = 1, 1, 1024, 512
|
| 23 |
|
| 24 |
|
| 25 |
class CustomOVModelVaeDecoder(OVModelVaeDecoder):
|
|
|
|
| 19 |
#pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False, safety_checker=safety_checker)
|
| 20 |
pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=False)
|
| 21 |
|
| 22 |
+
batch_size, num_images, height, width = -1, 1, 1024, 512
|
| 23 |
|
| 24 |
|
| 25 |
class CustomOVModelVaeDecoder(OVModelVaeDecoder):
|