Update README.md

This commit is contained in:
Georgi Gerganov
2021-01-09 15:28:47 +02:00
committed by GitHub
parent ad2c2e9ab2
commit 8e9783bbb1

View File

@@ -21,7 +21,6 @@ curl https://ggwave-to-file.ggerganov.com/?m=Hello\ world! --output hello.wav
### python
```python
import sys
import requests
def ggwave(message: str, protocolId: int = 1):
@@ -40,8 +39,13 @@ def ggwave(message: str, protocolId: int = 1):
return response
```
...
```python
import sys
# query waveform from server
result = ggwave("Hello world!")