Spaces:
Sleeping
Sleeping
EaindraKyaw
commited on
Update app.py
Browse files
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)
|
|
|
|
|
|
|
|