tsi-org commited on
Commit
26fd529
1 Parent(s): a6fee73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -175,7 +175,8 @@ def main():
175
 
176
  # uploaded_video_file = st.file_uploader("Select a video file", type=["mp4", "avi"])
177
  # uploaded_audio_file = st.file_uploader("Upload overlay audio (optional)", type=["mp3", "wav"])
178
-
 
179
 
180
  # Assuming the calculation for target_word_count is done as previously discussed
181
  words_per_minute = 65
 
175
 
176
  # uploaded_video_file = st.file_uploader("Select a video file", type=["mp4", "avi"])
177
  # uploaded_audio_file = st.file_uploader("Upload overlay audio (optional)", type=["mp3", "wav"])
178
+ voice_options = {'Echo (Male)': 'echo', 'Fable (Male)': 'fable', 'Onyx (Male)': 'onyx', 'Nova (Female)': 'nova', 'Shimmer (Female)': 'shimmer', 'Alloy (Female)': 'alloy'}
179
+ voice = st.selectbox('Choose the voice you want', list(voice_options.keys()))
180
 
181
  # Assuming the calculation for target_word_count is done as previously discussed
182
  words_per_minute = 65