Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,8 @@ model_id = "helenai/Linaqruf-anything-v3.0-ov"
|
|
| 10 |
|
| 11 |
pipe = OVStableDiffusionPipeline.from_pretrained(model_id, compile=False)
|
| 12 |
pipe.reshape( batch_size=1, height=256, width=256, num_images_per_prompt=1)
|
|
|
|
|
|
|
| 13 |
pipe.compile()
|
| 14 |
|
| 15 |
def infer(prompt,negative_prompt):
|
|
|
|
| 10 |
|
| 11 |
pipe = OVStableDiffusionPipeline.from_pretrained(model_id, compile=False)
|
| 12 |
pipe.reshape( batch_size=1, height=256, width=256, num_images_per_prompt=1)
|
| 13 |
+
pipe.scheduler = utils.get_scheduler(pipe.scheduler.config, "Euler a")
|
| 14 |
+
|
| 15 |
pipe.compile()
|
| 16 |
|
| 17 |
def infer(prompt,negative_prompt):
|