jpc commited on
Commit
30d1141
1 Parent(s): 16c3f75

Updated the welcome message

Browse files
Files changed (1) hide show
  1. app.py +29 -7
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🌟Collabora🌬️💬📝WhisperSpeech
12
 
13
- You can use this ZeroGPU Space to test out the current model [🌬️💬📝collabora/whisperspeech](https://huggingface.co/collabora/whisperspeech). 🌬️💬📝collabora/whisperspeech is An Open Source text-to-speech system built by inverting Whisper. Install it and use your command line interface locally with `pip install whisperspeech`. It's like Stable Diffusion but for speech – both powerful and easily customizable : so you can use it programmatically in your own pipelines! [Contribute to whisperspeech here](https://github.com/collabora/WhisperSpeech)
14
- You can also use 🌬️💬📝WhisperSpeech by cloning this space. 🧬🔬🔍 Simply click here: <a style="display:inline-block" href="https://huggingface.co/spaces/Tonic/laion-whisper?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a></h3>
 
15
 
16
- We're **celebrating the release of the whisperspeech** at [the LAION community, if you love open source ai learn more here : https://laion.ai/](https://laion.ai/) big thanks to the folks at huggingface for the community grant 🤗
17
 
18
- ### How to Use
19
- Input text with tahe language identifiers provided to create a multilingual speech. Optionally you can add an audiosample to make a voice print.Scroll down and try the api <3 Gradio.
20
- This space runs on ZeroGPU, so **you need to be patient** while you acquire the GPU and load the model the first time you make a request !
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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