Merge pull request #190 from evesquare/feature/fix-typo

docs: sample code fix typo
This commit is contained in:
blueeon 2024-11-16 23:37:17 +08:00 committed by GitHub
commit 708b03c2f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -181,7 +181,7 @@ def get_clip(clip_id):
return response.json() return response.json()
def generate_whole_song(clip_id): def generate_whole_song(clip_id):
payloyd = {"clip_id": clip_id} payload = {"clip_id": clip_id}
url = f"{base_url}/api/concat" url = f"{base_url}/api/concat"
response = requests.post(url, json=payload) response = requests.post(url, json=payload)
return response.json() return response.json()