HelloSun commited on
Commit
6d32913
1 Parent(s): d5bd739

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -17,7 +17,9 @@ pipeline = OVLatentConsistencyModelPipeline.from_pretrained(model_id, compile=Fa
17
 
18
  batch_size, num_images, height, width = 1, 1, 1024, 512
19
  pipeline.reshape(batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images)
20
- pipeline.load_textual_inversion("./badhandv4.pt", "badhandv4")
 
 
21
  pipeline.compile()
22
 
23
  #TypeError: LatentConsistencyPipelineMixin.__call__() got an unexpected keyword argument 'negative_prompt'
 
17
 
18
  batch_size, num_images, height, width = 1, 1, 1024, 512
19
  pipeline.reshape(batch_size=batch_size, height=height, width=width, num_images_per_prompt=num_images)
20
+ #pipeline.load_textual_inversion("./badhandv4.pt", "badhandv4")
21
+ #hiten1
22
+ pipeline.load_textual_inversion("./hiten1.pt", "hiten1")
23
  pipeline.compile()
24
 
25
  #TypeError: LatentConsistencyPipelineMixin.__call__() got an unexpected keyword argument 'negative_prompt'