shukdevdatta123 commited on
Commit
a120899
ยท
verified ยท
1 Parent(s): 4b5afc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -30,7 +30,6 @@ st.sidebar.markdown("""
30
  - ๐Ÿ‡ฎ๐Ÿ‡ณ Hindi (`h`)
31
  - ๐Ÿ‡ฎ๐Ÿ‡น Italian (`i`)
32
  - ๐Ÿ‡ง๐Ÿ‡ท Brazilian Portuguese (`p`)
33
- - ๐Ÿ‡ฏ๐Ÿ‡ต Japanese (`j`)
34
  - ๐Ÿ‡จ๐Ÿ‡ณ Mandarin Chinese (`z`)
35
 
36
  3. **Select Voice**:
@@ -50,7 +49,7 @@ Enjoy experimenting with the text-to-speech conversion, and feel free to try dif
50
 
51
  # User input for text, language, and voice settings
52
  input_text = st.text_area("Enter your text here", "The sky above the port was the color of television...")
53
- lang_code = st.selectbox("Select Language", ['a', 'b', 'e', 'f', 'h', 'i', 'p', 'j', 'z'])
54
  voice = st.selectbox("Select Voice", ['af_heart', 'af_joy', 'af_female', 'af_male']) # Change voice options as per model
55
  speed = st.slider("Speed", min_value=0.5, max_value=2.0, value=1.0, step=0.1)
56
 
 
30
  - ๐Ÿ‡ฎ๐Ÿ‡ณ Hindi (`h`)
31
  - ๐Ÿ‡ฎ๐Ÿ‡น Italian (`i`)
32
  - ๐Ÿ‡ง๐Ÿ‡ท Brazilian Portuguese (`p`)
 
33
  - ๐Ÿ‡จ๐Ÿ‡ณ Mandarin Chinese (`z`)
34
 
35
  3. **Select Voice**:
 
49
 
50
  # User input for text, language, and voice settings
51
  input_text = st.text_area("Enter your text here", "The sky above the port was the color of television...")
52
+ lang_code = st.selectbox("Select Language", ['a', 'b', 'e', 'f', 'h', 'i', 'p', 'z'])
53
  voice = st.selectbox("Select Voice", ['af_heart', 'af_joy', 'af_female', 'af_male']) # Change voice options as per model
54
  speed = st.slider("Speed", min_value=0.5, max_value=2.0, value=1.0, step=0.1)
55