Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -458,12 +458,10 @@ def main():
|
|
| 458 |
st.write(f"{i}. {result['description'][:100]}...")
|
| 459 |
|
| 460 |
st.markdown("### Voice Settings")
|
| 461 |
-
st.selectbox("TTS Voice:",
|
| 462 |
-
|
| 463 |
-
|
| 464 |
-
|
| 465 |
-
f.write(uploaded_file.getvalue())
|
| 466 |
-
st.success(f"Uploaded: {uploaded_file.name}")
|
| 467 |
|
| 468 |
with col2:
|
| 469 |
if st.button("π Clear All Files"):
|
|
|
|
| 458 |
st.write(f"{i}. {result['description'][:100]}...")
|
| 459 |
|
| 460 |
st.markdown("### Voice Settings")
|
| 461 |
+
st.selectbox("TTS Voice:",["en-US-AriaNeural", "en-US-GuyNeural", "en-GB-SoniaNeural"],key="tts_voice")
|
| 462 |
+
with open(uploaded_file.name, "wb") as f:
|
| 463 |
+
f.write(uploaded_file.getvalue())
|
| 464 |
+
st.success(f"Uploaded: {uploaded_file.name}")
|
|
|
|
|
|
|
| 465 |
|
| 466 |
with col2:
|
| 467 |
if st.button("π Clear All Files"):
|