abderrahimbrighal commited on
Commit
1ae2d44
·
verified ·
1 Parent(s): dcd8e84

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -10
app.py DELETED
@@ -1,10 +0,0 @@
1
- from transformers import pipeline
2
- from IPython.display import Audio as IPythonAudio
3
-
4
- narrator = pipeline("text-to-speech",
5
- model="./models/kakao-enterprise/vits-ljs")
6
- narrated_text = narrator(text)
7
-
8
-
9
- IPythonAudio(narrated_text["audio"][0],
10
- rate=narrated_text["sampling_rate"])