Spaces:
Running
on
T4
Running
on
T4
Updated the welcome message
Browse files
app.py
CHANGED
@@ -8,16 +8,38 @@ import torchaudio
|
|
8 |
from pathlib import Path
|
9 |
from whisperspeech.pipeline import Pipeline
|
10 |
|
11 |
-
title = """# 🙋🏻♂️ Welcome to
|
12 |
|
13 |
-
|
14 |
-
|
|
|
15 |
|
16 |
-
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
"""
|
22 |
|
23 |
|
|
|
8 |
from pathlib import Path
|
9 |
from whisperspeech.pipeline import Pipeline
|
10 |
|
11 |
+
title = """# 🙋🏻♂️ Welcome to Collabora's WhisperSpeech
|
12 |
|
13 |
+
WhisperSpeech is an Open Source text-to-speech system built by Collabora and LAION by inverting Whisper.
|
14 |
+
The model is fully open and you can run it on your local hardware. It's like **Stable Diffusion but for speech**
|
15 |
+
– both powerful and easily customizable.
|
16 |
|
17 |
+
To use it locally:
|
18 |
|
19 |
+
```
|
20 |
+
pip install -U WhisperSpeech
|
21 |
+
```
|
22 |
+
|
23 |
+
and later:
|
24 |
+
|
25 |
+
```
|
26 |
+
from whisperspeech.pipeline import Pipeline
|
27 |
+
|
28 |
+
pipe = Pipeline(torch_compile=True)
|
29 |
+
pipe.generate_to_file("output.wav", "Hello from WhisperSpeech.")
|
30 |
+
```
|
31 |
+
|
32 |
+
[Contribute to WhisperSpeech on ![Static Badge](https://img.shields.io/badge/GitHub-blue)](https://github.com/collabora/WhisperSpeech)
|
33 |
+
or join discussion on [![](https://dcbadge.vercel.app/api/server/FANw4rHD5E)](https://discord.gg/FANw4rHD5E) or on
|
34 |
+
[![Static Badge](https://img.shields.io/badge/GitHub-Discussions-green)](https://github.com/collabora/WhisperSpeech/discussions).
|
35 |
+
|
36 |
+
Huge thanks to [Tonic](https://huggingface.co/Tonic) who helped build this Space for WhisperSpeech.
|
37 |
+
|
38 |
+
### How to Use It
|
39 |
+
|
40 |
+
Write you text in the box, you can use language tags (`<en>` or `<pl>`) to create multilingual speech.
|
41 |
+
Optionally you can upload a speech sample or give it a file URL to clone an existing voice. Check out the
|
42 |
+
examples at the bottom of the page for inspiration.
|
43 |
"""
|
44 |
|
45 |
|