deeme commited on
Commit
718cc5a
1 Parent(s): d20ef33

Upload schemas.py

Browse files
Files changed (1) hide show
  1. schemas.py +8 -4
schemas.py CHANGED
@@ -30,14 +30,18 @@ class CustomModeGenerateParam(BaseModel):
30
  )
31
  continue_clip_id: Optional[str] = None
32
 
33
- negative_tags: str = ""
 
 
 
 
34
 
35
 
36
  class DescriptionModeGenerateParam(BaseModel):
37
  """Generate with Song Description"""
38
 
39
- gpt_description_prompt: str
40
- make_instrumental: bool = False
41
  mv: str = Field(
42
  default='chirp-v3-0',
43
  description="model version, default: chirp-v3-0",
@@ -50,4 +54,4 @@ class DescriptionModeGenerateParam(BaseModel):
50
  )
51
 
52
  generation_type: str = "TEXT"
53
- user_uploaded_images_b64: str = ""
 
30
  )
31
  continue_clip_id: Optional[str] = None
32
 
33
+ generation_type: str = "TEXT"
34
+ negative_tags:list = []
35
+ infill_start_s:Optional[int] = None
36
+ infill_end_s:Optional[int] = None
37
+ task:Optional[str] = ""
38
 
39
 
40
  class DescriptionModeGenerateParam(BaseModel):
41
  """Generate with Song Description"""
42
 
43
+ gpt_description_prompt:str = Field( max_length=200)
44
+ make_instrumental: bool = False # True纯音乐,False有歌词
45
  mv: str = Field(
46
  default='chirp-v3-0',
47
  description="model version, default: chirp-v3-0",
 
54
  )
55
 
56
  generation_type: str = "TEXT"
57
+ user_uploaded_images_b64:List[str] = []