Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -911,7 +911,13 @@ def display_voice_tab():
|
|
| 911 |
caption_male = 'Bottom: 🌟 **Guy** – 🛠️ **Ryan** – 🎻 **William** – 🌟 **Liam**'
|
| 912 |
|
| 913 |
# Optionally, replace with your own local image or comment out
|
| 914 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 915 |
|
| 916 |
st.sidebar.markdown("""
|
| 917 |
# 🎙️ Voice Character Agent Selector 🎭
|
|
@@ -929,12 +935,7 @@ def display_voice_tab():
|
|
| 929 |
- 🌟 **Liam** – Energetic, engaging
|
| 930 |
""")
|
| 931 |
|
| 932 |
-
|
| 933 |
-
"👄 Select TTS Voice:",
|
| 934 |
-
options=EDGE_TTS_VOICES,
|
| 935 |
-
index=EDGE_TTS_VOICES.index(st.session_state['tts_voice'])
|
| 936 |
-
)
|
| 937 |
-
|
| 938 |
# ▶ Audio Format
|
| 939 |
st.markdown("### 🔊 Audio Format")
|
| 940 |
selected_format = st.radio(
|
|
|
|
| 911 |
caption_male = 'Bottom: 🌟 **Guy** – 🛠️ **Ryan** – 🎻 **William** – 🌟 **Liam**'
|
| 912 |
|
| 913 |
# Optionally, replace with your own local image or comment out
|
| 914 |
+
st.sidebar.image('Group Picture - Voices.png', caption=caption_female + ' | ' + caption_male)
|
| 915 |
+
|
| 916 |
+
selected_voice = st.sidebar.selectbox(
|
| 917 |
+
"👄 Select TTS Voice:",
|
| 918 |
+
options=EDGE_TTS_VOICES,
|
| 919 |
+
index=EDGE_TTS_VOICES.index(st.session_state['tts_voice'])
|
| 920 |
+
)
|
| 921 |
|
| 922 |
st.sidebar.markdown("""
|
| 923 |
# 🎙️ Voice Character Agent Selector 🎭
|
|
|
|
| 935 |
- 🌟 **Liam** – Energetic, engaging
|
| 936 |
""")
|
| 937 |
|
| 938 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 939 |
# ▶ Audio Format
|
| 940 |
st.markdown("### 🔊 Audio Format")
|
| 941 |
selected_format = st.radio(
|