zodiac.providers.proto_class

 1# # SPDX-License-Identifier: MPL-2.0 AND LicenseRef-Commons-Clause-License-Condition-1.0
 2# # <!-- // /*  d a r k s h a p e s */ -->
 3
 4
 5# from pydantic import BaseModel, computed_field
 6# from zodiac.providers.constants import PkgType
 7
 8# DiffusersType:
 9#     num_inference_steps:
10#     guidance_scale:
11#     denoising_end:
12#     output_type:
13#     callback_steps:
14#     negative_prompt:
15#     prompt:
16#     prompt_embeds:
17#     negative_prompt_embeds:
18
19#     "output_type": "latent",
20#     "safety_checker": false,
21#     "width": 1024,
22#     "height": 1024
23
24# DefaultEntry(BaseModel)
25
26
27# class
28#     steps:
29#     guidance:
30#     aspect:
31#     width:
32#     height: str
33
34# PkgType
35
36# class FormulaEntry(BaseModel):
37#     packages
38#     device_type
39#     provider
40#     parameters