linh-truong commited on
Commit
5ffd1f8
1 Parent(s): 45bafcb
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -7,6 +7,7 @@ footer {visibility: hidden;}
7
  """
8
  st.markdown(hide_menu_style, unsafe_allow_html= True)
9
 
 
10
  import glob
11
  from src.model import Model, dataset_dict
12
 
@@ -19,8 +20,8 @@ if "model_name" not in st.session_state:
19
  with st.sidebar.form("my_form"):
20
 
21
  text = st.text_input("Your input: ")
22
- model_name = st.selectbox(label="Model: ", options=["truong-xuan-linh/speecht5-vietnamese-commonvoice",
23
- "truong-xuan-linh/speecht5-vietnamese-voiceclone-lsvsc",
24
  "truong-xuan-linh/speecht5-vietnamese-hlpcvoice",
25
  "truong-xuan-linh/speecht5-vietnamese-vstnvoice",
26
  "truong-xuan-linh/speecht5-vietnamese-kcbnvoice",
@@ -31,7 +32,7 @@ with st.sidebar.form("my_form"):
31
  "truong-xuan-linh/speecht5-multilingual-voiceclone-pynote",
32
  "truong-xuan-linh/speecht5-multilingual-voiceclone-speechbrain-nonverbal"])
33
 
34
- speaker_id = st.selectbox("source voice", options= list(dataset_dict.keys()))
35
  speaker_url = st.text_input("speaker url", value="")
36
  # speaker_id = st.selectbox("source voice", options= glob.glob("voices/*.wav"))
37
  if st.session_state.model_name != model_name or speaker_url != st.session_state.speaker_url :
 
7
  """
8
  st.markdown(hide_menu_style, unsafe_allow_html= True)
9
 
10
+ st.write("Languages: Vietnamese, English")
11
  import glob
12
  from src.model import Model, dataset_dict
13
 
 
20
  with st.sidebar.form("my_form"):
21
 
22
  text = st.text_input("Your input: ")
23
+ model_name = st.selectbox(label="Model: ", options=["truong-xuan-linh/speecht5-vietnamese-voiceclone-lsvsc",
24
+ "truong-xuan-linh/speecht5-vietnamese-commonvoice",
25
  "truong-xuan-linh/speecht5-vietnamese-hlpcvoice",
26
  "truong-xuan-linh/speecht5-vietnamese-vstnvoice",
27
  "truong-xuan-linh/speecht5-vietnamese-kcbnvoice",
 
32
  "truong-xuan-linh/speecht5-multilingual-voiceclone-pynote",
33
  "truong-xuan-linh/speecht5-multilingual-voiceclone-speechbrain-nonverbal"])
34
 
35
+ speaker_id = st.selectbox("source voice", options= ["speech_dataset_denoised"] + list(dataset_dict.keys()))
36
  speaker_url = st.text_input("speaker url", value="")
37
  # speaker_id = st.selectbox("source voice", options= glob.glob("voices/*.wav"))
38
  if st.session_state.model_name != model_name or speaker_url != st.session_state.speaker_url :