mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-07 01:11:22 +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
|
||||
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!")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user