We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Name: webuiapi Version: 0.9.5
api = webuiapi.WebUIApi(host='127.0.0.1', port=7860, sampler=sampler, steps=steps ) result = api.txt2img( prompt=prompt, negative_prompt=negative_prompt, seed=int(seed), cfg_scale=cfg_scale, width=width, height=height, script_name="X/Y/Z Plot", denoising_strength=0.7, seed_resize_from_h=0, seed_resize_from_w=0, script_args=[ XYZPlotAvailableTxt2ImgScripts.index(XAxisType), XAxisValues, [], XYZPlotAvailableTxt2ImgScripts.index(YAxisType), YAxisValues, [], XYZPlotAvailableTxt2ImgScripts.index(ZAxisType), ZAxisValues, [], drawLegend, includeLoneImages, includeSubGrids, noFixedSeeds, marginSize, ] ) seq = '{0:0>4}'.format(counter) truncated_prompt = prompt[:100] path_filename = f'{output_folder}/{dt}/xyz_grid-{seq}-{seed}-{width}x{height}-{truncated_prompt}' result.image.save(f'{path_filename}.png')
Fails with:
File "/workspace/venv/lib/python3.10/site-packages/webuiapi/webuiapi.py", line 50, in image return self.images[0] IndexError: list index out of range
print(self.images) returns []
print(self.images)
[]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Name: webuiapi
Version: 0.9.5
Fails with:
print(self.images)
returns[]
The text was updated successfully, but these errors were encountered: