Update TextGen/router.py
Browse files- TextGen/router.py +4 -1
TextGen/router.py
CHANGED
|
@@ -22,18 +22,21 @@ class PlayLastMusic(BaseModel):
|
|
| 22 |
Desicion: str = Field(
|
| 23 |
..., description="Yes or No"
|
| 24 |
)
|
|
|
|
| 25 |
class CreateLyrics(BaseModel):
|
| 26 |
f'''create some Lyrics for a new music'''
|
| 27 |
Desicion: str = Field(
|
| 28 |
..., description="Yes or No"
|
| 29 |
)
|
|
|
|
| 30 |
class CreateNewMusic(BaseModel):
|
| 31 |
f'''create a new music with the Lyrics previously computed'''
|
| 32 |
Name: str = Field(
|
| 33 |
..., description="tags to describe the new music"
|
| 34 |
)
|
| 35 |
|
| 36 |
-
|
|
|
|
| 37 |
class Message(BaseModel):
|
| 38 |
npc: str | None = None
|
| 39 |
messages: List[str] | None = None
|
|
|
|
| 22 |
Desicion: str = Field(
|
| 23 |
..., description="Yes or No"
|
| 24 |
)
|
| 25 |
+
|
| 26 |
class CreateLyrics(BaseModel):
|
| 27 |
f'''create some Lyrics for a new music'''
|
| 28 |
Desicion: str = Field(
|
| 29 |
..., description="Yes or No"
|
| 30 |
)
|
| 31 |
+
|
| 32 |
class CreateNewMusic(BaseModel):
|
| 33 |
f'''create a new music with the Lyrics previously computed'''
|
| 34 |
Name: str = Field(
|
| 35 |
..., description="tags to describe the new music"
|
| 36 |
)
|
| 37 |
|
| 38 |
+
|
| 39 |
+
|
| 40 |
class Message(BaseModel):
|
| 41 |
npc: str | None = None
|
| 42 |
messages: List[str] | None = None
|