EaindraKyaw commited on
Commit
64990f1
·
verified ·
1 Parent(s): 26ef3b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -118,8 +118,4 @@ iface = gr.Interface(processed_image, # Function to process the image
118
  iface.launch()
119
 
120
  tts_pipe = pipeline("text-to-speech", model="kakao-enterprise/vits-vctk")
121
- narrated_text=tts_pipe(text)
122
- from IPython.display import Audio as IPythonAudio
123
-
124
- IPythonAudio(narrated_text["audio"][0],
125
- rate=narrated_text["sampling_rate"])
 
118
  iface.launch()
119
 
120
  tts_pipe = pipeline("text-to-speech", model="kakao-enterprise/vits-vctk")
121
+ narrated_text=tts_pipe(text)