fixed: ValidationError: 1 validation error for VideoParams video_subject Field required
This commit is contained in:
@@ -223,7 +223,7 @@ left_panel = panel[0]
|
|||||||
middle_panel = panel[1]
|
middle_panel = panel[1]
|
||||||
right_panel = panel[2]
|
right_panel = panel[2]
|
||||||
|
|
||||||
params = VideoParams()
|
params = VideoParams(video_subject="")
|
||||||
|
|
||||||
with left_panel:
|
with left_panel:
|
||||||
with st.container(border=True):
|
with st.container(border=True):
|
||||||
@@ -299,7 +299,8 @@ with middle_panel:
|
|||||||
index=0)
|
index=0)
|
||||||
with st.container(border=True):
|
with st.container(border=True):
|
||||||
st.write(tr("Audio Settings"))
|
st.write(tr("Audio Settings"))
|
||||||
voices = voice.get_all_azure_voices(filter_locals=["zh-CN", "zh-HK", "zh-TW", "de-DE", "en-US", "fr-FR", "vi-VN"])
|
voices = voice.get_all_azure_voices(
|
||||||
|
filter_locals=["zh-CN", "zh-HK", "zh-TW", "de-DE", "en-US", "fr-FR", "vi-VN"])
|
||||||
friendly_names = {
|
friendly_names = {
|
||||||
v: v.
|
v: v.
|
||||||
replace("Female", tr("Female")).
|
replace("Female", tr("Female")).
|
||||||
|
|||||||
Reference in New Issue
Block a user