Devin Xie commited on
Commit
6e383be
·
1 Parent(s): 2c4fd8d

improved text area, and polished the dropdown menu

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -29,6 +29,7 @@ def main():
29
  st.markdown(title, unsafe_allow_html=True)
30
 
31
  sample_files = {
 
32
  'Stewie Griffin': 'sample_inputs/stewie.wav',
33
  'Donald Trump': 'sample_inputs/trump.wav',
34
  'Joe Rogan': 'sample_inputs/rogan.wav'
@@ -47,7 +48,7 @@ def main():
47
  st.audio(speaker_file, format='audio/wav')
48
 
49
  # Input text
50
- text_input = st.text_input('What do you want your character to say? (Alphabet letters only, DO NOT INCLUDE PUNCTUATION)')
51
 
52
  if st.button('Synthesize'):
53
  if text_input:
 
29
  st.markdown(title, unsafe_allow_html=True)
30
 
31
  sample_files = {
32
+ '': '',
33
  'Stewie Griffin': 'sample_inputs/stewie.wav',
34
  'Donald Trump': 'sample_inputs/trump.wav',
35
  'Joe Rogan': 'sample_inputs/rogan.wav'
 
48
  st.audio(speaker_file, format='audio/wav')
49
 
50
  # Input text
51
+ text_input = st.text_area('What do you want your character to say? (Alphabet letters only, DO NOT INCLUDE PUNCTUATION)')
52
 
53
  if st.button('Synthesize'):
54
  if text_input: