Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -56,15 +56,6 @@ def predict(text, speaker):
|
|
56 |
speech = (speech.numpy() * 32767).astype(np.int16)
|
57 |
return (16000, speech)
|
58 |
|
59 |
-
examples = [
|
60 |
-
["It is not in the stars to hold our destiny but in ourselves.", "BDL (male)"],
|
61 |
-
["The octopus and Oliver went to the opera in October.", "CLB (female)"],
|
62 |
-
["She sells seashells by the seashore. I saw a kitten eating chicken in the kitchen.", "RMS (male)"],
|
63 |
-
["Brisk brave brigadiers brandished broad bright blades, blunderbusses, and bludgeons—balancing them badly.", "SLT (female)"],
|
64 |
-
["A synonym for cinnamon is a cinnamon synonym.", "BDL (male)"],
|
65 |
-
["How much wood would a woodchuck chuck if a woodchuck could chuck wood? He would chuck, he would, as much as he could, and chuck as much wood as a woodchuck would if a woodchuck could chuck wood.", "CLB (female)"],
|
66 |
-
]
|
67 |
-
|
68 |
title = "LoreWeaver: A Novel Generation Multimodal LLM"
|
69 |
|
70 |
gr.Interface(
|
@@ -85,5 +76,4 @@ gr.Interface(
|
|
85 |
gr.Audio(label="Generated Speech", type="numpy"),
|
86 |
],
|
87 |
title=title,
|
88 |
-
examples=examples,
|
89 |
).launch()
|
|
|
56 |
speech = (speech.numpy() * 32767).astype(np.int16)
|
57 |
return (16000, speech)
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
title = "LoreWeaver: A Novel Generation Multimodal LLM"
|
60 |
|
61 |
gr.Interface(
|
|
|
76 |
gr.Audio(label="Generated Speech", type="numpy"),
|
77 |
],
|
78 |
title=title,
|
|
|
79 |
).launch()
|