Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -111,11 +111,6 @@ def main():
|
|
111 |
st.write("Here's your response:")
|
112 |
st.write(message)
|
113 |
|
114 |
-
# If the response is a song recommendation, provide extra formatting if desired.
|
115 |
-
if response_type == "Song Recommendation":
|
116 |
-
st.write("Song Recommendation:")
|
117 |
-
st.write(message)
|
118 |
-
|
119 |
# Convert the generated message to audio if it's not a song recommendation (optional)
|
120 |
if response_type != "Song Recommendation":
|
121 |
audio_file = text_to_speech(message)
|
|
|
111 |
st.write("Here's your response:")
|
112 |
st.write(message)
|
113 |
|
|
|
|
|
|
|
|
|
|
|
114 |
# Convert the generated message to audio if it's not a song recommendation (optional)
|
115 |
if response_type != "Song Recommendation":
|
116 |
audio_file = text_to_speech(message)
|