Spaces:
Running
Running
Update app.py
Browse files
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
|