parent
c0c98df9a1
commit
d8572f20c7
|
@ -73,7 +73,7 @@ class StableDiffusionOnnxPipeline(DiffusionPipeline):
|
||||||
prompt,
|
prompt,
|
||||||
padding="max_length",
|
padding="max_length",
|
||||||
max_length=self.tokenizer.model_max_length,
|
max_length=self.tokenizer.model_max_length,
|
||||||
return_tensors="pt",
|
return_tensors="np",
|
||||||
)
|
)
|
||||||
text_input_ids = text_inputs.input_ids
|
text_input_ids = text_inputs.input_ids
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue