Update TextGen/suno.py
Browse files- TextGen/suno.py +1 -2
TextGen/suno.py
CHANGED
@@ -48,8 +48,7 @@ def generate_whole_song(clip_id):
|
|
48 |
response = requests.post(url, json=payload)
|
49 |
return response.json()
|
50 |
|
51 |
-
def generate_lyrics(
|
52 |
-
payload = {"prompt": prompt}
|
53 |
url = f"{base_url}api/generate_lyrics"
|
54 |
print(url)
|
55 |
response = requests.post(url, json=payload)
|
|
|
48 |
response = requests.post(url, json=payload)
|
49 |
return response.json()
|
50 |
|
51 |
+
def generate_lyrics(payload):
|
|
|
52 |
url = f"{base_url}api/generate_lyrics"
|
53 |
print(url)
|
54 |
response = requests.post(url, json=payload)
|