mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-04-21 05:36:33 +08:00
Update README.md
This commit is contained in:
@@ -21,7 +21,6 @@ curl https://ggwave-to-file.ggerganov.com/?m=Hello\ world! --output hello.wav
|
|||||||
### python
|
### python
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import sys
|
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
def ggwave(message: str, protocolId: int = 1):
|
def ggwave(message: str, protocolId: int = 1):
|
||||||
@@ -40,8 +39,13 @@ def ggwave(message: str, protocolId: int = 1):
|
|||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
|
```python
|
||||||
|
import sys
|
||||||
|
|
||||||
# query waveform from server
|
# query waveform from server
|
||||||
result = ggwave("Hello world!")
|
result = ggwave("Hello world!")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user