Santipab commited on
Commit
4b78e79
·
verified ·
1 Parent(s): ab7dda8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=True)
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":