Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ playground = gr.Blocks()
|
|
7 |
image_pipe = pipeline("image-to-text", model="Salesforce/blip-image-captioning-base")
|
8 |
summary_pipe = pipeline("summarization", model="sshleifer/distilbart-cnn-12-6")
|
9 |
ner_pipe = pipeline("ner", model="dslim/bert-base-NER")
|
10 |
-
narrator = pipeline("text-to-speech", model="
|
11 |
|
12 |
def generate_audio(text):
|
13 |
# Generate speech from text
|
|
|
7 |
image_pipe = pipeline("image-to-text", model="Salesforce/blip-image-captioning-base")
|
8 |
summary_pipe = pipeline("summarization", model="sshleifer/distilbart-cnn-12-6")
|
9 |
ner_pipe = pipeline("ner", model="dslim/bert-base-NER")
|
10 |
+
narrator = pipeline("text-to-speech", model="kakao-enterprise/vits-ljs")
|
11 |
|
12 |
def generate_audio(text):
|
13 |
# Generate speech from text
|