Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ def launch_bot():
|
|
103 |
|
104 |
# If assistant has most recently reaponded create audio of response
|
105 |
if st.session_state.messages[-1]["role"] == "assistant":
|
106 |
-
|
107 |
if audio_result:
|
108 |
#text-to-speech
|
109 |
print("Calling in Text-to-speech via suno/bark-small")
|
|
|
103 |
|
104 |
# If assistant has most recently reaponded create audio of response
|
105 |
if st.session_state.messages[-1]["role"] == "assistant":
|
106 |
+
audio_result = st.button("Convert to Audio 🔊")
|
107 |
if audio_result:
|
108 |
#text-to-speech
|
109 |
print("Calling in Text-to-speech via suno/bark-small")
|