Spaces:
Running
on
Zero
Running
on
Zero
DarkAcorn
commited on
Commit
·
8800cf1
1
Parent(s):
21a2ee2
edits on the space
Browse files
app.py
CHANGED
|
@@ -151,12 +151,6 @@ def generate_speech(text, voice, temperature, top_p, repetition_penalty, max_new
|
|
| 151 |
examples = [
|
| 152 |
["Hey there my name is Baddy, <chuckle> and I'm a speech generation model that can sound like a person.", "baddy", 0.6, 0.95, 1.1, 1200],
|
| 153 |
["I've also been taught to understand and produce paralinguistic things <sigh> like sighing, or <laugh> laughing, or <yawn> yawning!", "baddy", 0.7, 0.95, 1.1, 1200],
|
| 154 |
-
["I live in San Francisco, and have, uhm let's see, 3 billion 7 hundred ... <gasp> well, lets just say a lot of parameters.", "baddy", 0.6, 0.9, 1.2, 1200],
|
| 155 |
-
["Sometimes when I talk too much, I need to <cough> excuse myself. <sniffle> The weather has been quite cold lately.", "baddy", 0.65, 0.9, 1.1, 1200],
|
| 156 |
-
["Public speaking can be challenging. <groan> But with enough practice, anyone can become better at it.", "baddy", 0.7, 0.95, 1.1, 1200],
|
| 157 |
-
["The hike was exhausting but the view from the top was absolutely breathtaking! <sigh> It was totally worth it.", "baddy", 0.65, 0.9, 1.15, 1200],
|
| 158 |
-
["Did you hear that joke? <laugh> I couldn't stop laughing when I first heard it. <chuckle> It's still funny.", "baddy", 0.7, 0.95, 1.1, 1200],
|
| 159 |
-
["After running the marathon, I was so tired <yawn> and needed a long rest. <sigh> But I felt accomplished.", "baddy", 0.6, 0.95, 1.1, 1200]
|
| 160 |
]
|
| 161 |
|
| 162 |
# Available voices
|
|
@@ -171,8 +165,13 @@ with gr.Blocks(title="Morpheus Text-to-Speech - uncensored orpheus") as demo:
|
|
| 171 |
# 🎵 Morpheus Text-to-Speech
|
| 172 |
Enter your text below and hear it converted to natural-sounding speech with the Morpheus TTS model.
|
| 173 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 174 |
## Tips for better prompts:
|
| 175 |
-
- Add paralinguistic elements like {", ".join(EMOTIVE_TAGS)} or `uhm` for more human-like speech.
|
| 176 |
- Longer text prompts generally work better than very short phrases
|
| 177 |
- Increasing `repetition_penalty` and `temperature` makes the model speak faster.
|
| 178 |
""")
|
|
|
|
| 151 |
examples = [
|
| 152 |
["Hey there my name is Baddy, <chuckle> and I'm a speech generation model that can sound like a person.", "baddy", 0.6, 0.95, 1.1, 1200],
|
| 153 |
["I've also been taught to understand and produce paralinguistic things <sigh> like sighing, or <laugh> laughing, or <yawn> yawning!", "baddy", 0.7, 0.95, 1.1, 1200],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 154 |
]
|
| 155 |
|
| 156 |
# Available voices
|
|
|
|
| 165 |
# 🎵 Morpheus Text-to-Speech
|
| 166 |
Enter your text below and hear it converted to natural-sounding speech with the Morpheus TTS model.
|
| 167 |
|
| 168 |
+
this is a early sneak peak of the current development and not fully cooked yet - mostly just a demonstration of where its going.
|
| 169 |
+
|
| 170 |
+
reports and gen shareing please in [discord](https://discord.gg/RUs3uzBdW3)
|
| 171 |
+
|
| 172 |
+
|
| 173 |
## Tips for better prompts:
|
| 174 |
+
- Add paralinguistic elements like {", ".join(EMOTIVE_TAGS)} or `uhm` for more human-like speech (and MANY MORE ).
|
| 175 |
- Longer text prompts generally work better than very short phrases
|
| 176 |
- Increasing `repetition_penalty` and `temperature` makes the model speak faster.
|
| 177 |
""")
|