Skip to content

Commit

Permalink
fix txt2img call
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Feb 4, 2023
1 parent 70dedf8 commit 595eba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/diffusion/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def run_txt2img_pipeline(
rng = np.random.RandomState(params.seed)

progress = job.get_progress_callback()
result = pipe.txt2img(
result = pipe.text2img(
params.prompt,
height=size.height,
width=size.width,
Expand Down

0 comments on commit 595eba1

Please sign in to comment.