Hindi Support
This commit is contained in:
1 parent
2834778e8f
commit
f18eb9a4a0
2 files changed
+2
-1
No files matched your search
@@ -1391,6 +1391,7 @@ Example:
|
|||||||
`en` English<br>
|
`en` English<br>
|
||||||
`fr` French<br>
|
`fr` French<br>
|
||||||
`de` German<br>
|
`de` German<br>
|
||||||
|
`hi` Hindi<br>
|
||||||
`hu` Hungarian<br>
|
`hu` Hungarian<br>
|
||||||
`it` Italian<br>
|
`it` Italian<br>
|
||||||
`ja` Japanese<br>
|
`ja` Japanese<br>
|
||||||
|
|||||||
+1
-1
@@ -890,7 +890,7 @@ class JSONInput(BaseModel):
|
|||||||
narrator_enabled: bool = Field(..., description="narrator_enabled needs to be true or false.")
|
narrator_enabled: bool = Field(..., description="narrator_enabled needs to be true or false.")
|
||||||
narrator_voice_gen: str = Field(..., pattern="^.*\.wav$", description="narrator_voice_gen needs to be the name of a wav file e.g. mysample.wav.")
|
narrator_voice_gen: str = Field(..., pattern="^.*\.wav$", description="narrator_voice_gen needs to be the name of a wav file e.g. mysample.wav.")
|
||||||
text_not_inside: str = Field(..., pattern="^(character|narrator)$", description="text_not_inside needs to be 'character' or 'narrator'.")
|
text_not_inside: str = Field(..., pattern="^(character|narrator)$", description="text_not_inside needs to be 'character' or 'narrator'.")
|
||||||
language: str = Field(..., pattern="^(ar|zh-cn|cs|nl|en|fr|de|hu|it|ja|ko|pl|pt|ru|es|tr)$", description="language needs to be one of the following ar|zh-cn|cs|nl|en|fr|de|hu|it|ja|ko|pl|pt|ru|es|tr.")
|
language: str = Field(..., pattern="^(ar|zh-cn|cs|nl|en|fr|de|hu|hi|it|ja|ko|pl|pt|ru|es|tr)$", description="language needs to be one of the following ar|zh-cn|cs|nl|en|fr|de|hu|hi|it|ja|ko|pl|pt|ru|es|tr.")
|
||||||
output_file_name: str = Field(..., pattern="^[a-zA-Z0-9_]+$", description="output_file_name needs to be the name without any special characters or file extension e.g. 'filename'")
|
output_file_name: str = Field(..., pattern="^[a-zA-Z0-9_]+$", description="output_file_name needs to be the name without any special characters or file extension e.g. 'filename'")
|
||||||
output_file_timestamp: bool = Field(..., description="output_file_timestamp needs to be true or false.")
|
output_file_timestamp: bool = Field(..., description="output_file_timestamp needs to be true or false.")
|
||||||
autoplay: bool = Field(..., description="autoplay needs to be a true or false value.")
|
autoplay: bool = Field(..., description="autoplay needs to be a true or false value.")
|
||||||
|
|||||||
Reference in new issue
Block a user