Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ with col1:
|
|
118 |
response = requests.request("POST", url, headers=headers, data=payload)
|
119 |
back = eval(response.text)["output"]
|
120 |
text_to_speech(f'{back}', filename="greeting_audio.mp3", speaker=6, language="th")
|
121 |
-
st.audio("greeting_audio.mp3", format="audio/mp3", loop=False, autoplay=
|
122 |
|
123 |
|
124 |
elif (country := open("country.txt").read().strip()) == "English":
|
|
|
118 |
response = requests.request("POST", url, headers=headers, data=payload)
|
119 |
back = eval(response.text)["output"]
|
120 |
text_to_speech(f'{back}', filename="greeting_audio.mp3", speaker=6, language="th")
|
121 |
+
st.audio("greeting_audio.mp3", format="audio/mp3", loop=False, autoplay=False)
|
122 |
|
123 |
|
124 |
elif (country := open("country.txt").read().strip()) == "English":
|