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
Getting no such sampler error. What might be a reason? Using the same copy pasted code from your api documentation
def generate_stability(self, prompt, negative_prompt="", edit_parameter=-1, seed=4, steps=50, cfg_scale=8.0, width=1024, height=1024, samples=4, sampler=generation.SAMPLER_K_DPMPP_2M): # sampler is sensitive try: stability_api = client.StabilityInference( key=self.key, verbose=True, engine="stable-diffusion-xl-1024-v1-0" ) answers = stability_api.generate( prompt=[generation.Prompt(text=prompt, parameters=generation.PromptParameters(weight=1)), generation.Prompt(text=negative_prompt, parameters=generation.PromptParameters(weight=edit_parameter))], seed=seed, steps=steps, cfg_scale=cfg_scale, width=width, height=height, samples=samples, sampler=sampler )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Getting no such sampler error. What might be a reason? Using the same copy pasted code from your api documentation
The text was updated successfully, but these errors were encountered: