SuganthKrishna2003 commited on
Commit
9e807cc
1 Parent(s): 1701904

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -10,6 +10,7 @@ import pandas as pd
10
  import time
11
  from transformers import BarkModel, BarkProcessor
12
  from IPython.display import Audio
 
13
 
14
  '''
15
 
@@ -117,4 +118,8 @@ output = gTTS(text=response, lang=language, slow=False)
117
 
118
  output.save("output.mp3")
119
 
120
- Audio("output.mp3",rate=24000)
 
 
 
 
 
10
  import time
11
  from transformers import BarkModel, BarkProcessor
12
  from IPython.display import Audio
13
+ import playsound
14
 
15
  '''
16
 
 
118
 
119
  output.save("output.mp3")
120
 
121
+ Audio("output.mp3",rate=24000)
122
+
123
+
124
+
125
+ playsound.playsound("output.mp3")