Skip to content
New issue

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

Elements weightDefault wrong type #82

Open
ryanleecode opened this issue Jun 17, 2024 · 0 comments
Open

Elements weightDefault wrong type #82

ryanleecode opened this issue Jun 17, 2024 · 0 comments

Comments

@ryanleecode
Copy link

ryanleecode commented Jun 17, 2024

weightDefault: z.nullable(z.number().int()).optional(),

This is wrong. Solarpunk has a weight default of 0.7

        {
          akUUID: 'f663d120-0692-4e0a-9917-36f92b034aef',
          name: 'Solarpunk',
          description: 'Blend tech and nature with this aesthetic. Works best with Leonardo Vision XL.',
          urlImage: 'https://cdn.leonardo.ai/element_thumbnails/f663d120-0692-4e0a-9917-36f92b034aef/thumbnail.png',
          baseModel: 'SDXL_1_0',
          weightDefault: 0.7,
          weightMin: -2,
          weightMax: 2,
          creatorName: 'Leonardo'
        },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant