Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=Fa
|
|
| 16 |
|
| 17 |
batch_size, num_images, height, width = 1, 1, 512, 512
|
| 18 |
pipeline.reshape(batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images)
|
| 19 |
-
|
| 20 |
pipeline.compile()
|
| 21 |
|
| 22 |
#TypeError: LatentConsistencyPipelineMixin.__call__() got an unexpected keyword argument 'negative_prompt'
|
|
|
|
| 16 |
|
| 17 |
batch_size, num_images, height, width = 1, 1, 512, 512
|
| 18 |
pipeline.reshape(batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images)
|
| 19 |
+
pipeline.load_textual_inversion("./badhandv4.pt", "badhandv4")
|
| 20 |
pipeline.compile()
|
| 21 |
|
| 22 |
#TypeError: LatentConsistencyPipelineMixin.__call__() got an unexpected keyword argument 'negative_prompt'
|