From 595eba1db9d8c6b4c0be180fc29cb8137e2ba8a0 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Sat, 4 Feb 2023 17:46:50 -0600 Subject: [PATCH] fix txt2img call --- api/onnx_web/diffusion/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/onnx_web/diffusion/run.py b/api/onnx_web/diffusion/run.py index cbbb7cf9..84744fb1 100644 --- a/api/onnx_web/diffusion/run.py +++ b/api/onnx_web/diffusion/run.py @@ -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,