Spaces:
Build error
Build error
DSatishchandra
commited on
Commit
•
a7a7497
1
Parent(s):
5ae0417
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ menu = {
|
|
18 |
def speak(text):
|
19 |
tts = gTTS(text=text, lang='en')
|
20 |
tts.save("output.mp3")
|
21 |
-
# Do not try to play the audio, just save it
|
22 |
# os.system("mpg321 output.mp3") # Removed, as it is not supported in Hugging Face
|
23 |
|
24 |
# Function to process the order and handle confirmation
|
|
|
18 |
def speak(text):
|
19 |
tts = gTTS(text=text, lang='en')
|
20 |
tts.save("output.mp3")
|
21 |
+
# Do not try to play the audio, just save it (no playback)
|
22 |
# os.system("mpg321 output.mp3") # Removed, as it is not supported in Hugging Face
|
23 |
|
24 |
# Function to process the order and handle confirmation
|