Zeebra commited on
Commit
31ed1ca
1 Parent(s): 64b0931

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -31,7 +31,8 @@ def decipher(audio):
31
  myobj = gTTS(text=system_message, lang='en', slow=False)
32
  myobj.save("welcome.mp3")
33
  # Playing the converted file
34
- os.system("xdg-open welcome.mp3")
 
35
 
36
  messages.append({"role": "assistant", "content": system_message})
37
 
 
31
  myobj = gTTS(text=system_message, lang='en', slow=False)
32
  myobj.save("welcome.mp3")
33
  # Playing the converted file
34
+ os.system("play welcome.mp3")
35
+
36
 
37
  messages.append({"role": "assistant", "content": system_message})
38