From 3231a904c15f2e3703ee3fb6598f516e2e232065 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 5f40faa4..78c6e6b0 100644 --- a/api/onnx_web/diffusion/run.py +++ b/api/onnx_web/diffusion/run.py @@ -32,7 +32,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,