Updated readme.
This commit is contained in:
parent
b6871a85c1
commit
a4a24e67a5
19
README.md
Normal file
19
README.md
Normal file
@ -0,0 +1,19 @@
|
||||
# RSPEECH
|
||||
|
||||
Speech recognitzion and text-to-speech powered by google.
|
||||
You need gcloud sdk configured on your PC. Also you need a google project with a billing account. The google project requires a default service account and a service account key. You can also use a service account token.
|
||||
|
||||
## TTS
|
||||
```
|
||||
from rspeech.tts import tts
|
||||
await tts("hello world")
|
||||
```
|
||||
|
||||
## STT
|
||||
```
|
||||
from rspeech.stt import listen, listen_async
|
||||
# Async:
|
||||
text = await listen_async()
|
||||
# Traditional:
|
||||
text = listen()
|
||||
```
|
Loading…
Reference in New Issue
Block a user