Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ height = int(os.getenv("IMAGE_HEIGHT", "512"))
|
|
44 |
num_images = int(os.getenv("NUM_IMAGES", "1"))
|
45 |
guidance_scale = float(os.getenv("GUIDANCE_SCALE", "1.0"))
|
46 |
|
47 |
-
pipe = OVStableDiffusionPipeline.from_pretrained(model_id, compile = False, ov_config = {"CACHE_DIR":"
|
48 |
pipe.reshape(batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images)
|
49 |
pipe.compile()
|
50 |
|
|
|
44 |
num_images = int(os.getenv("NUM_IMAGES", "1"))
|
45 |
guidance_scale = float(os.getenv("GUIDANCE_SCALE", "1.0"))
|
46 |
|
47 |
+
pipe = OVStableDiffusionPipeline.from_pretrained(model_id, compile = False, ov_config = {"CACHE_DIR":""})
|
48 |
pipe.reshape(batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images)
|
49 |
pipe.compile()
|
50 |
|