Jofthomas HF staff commited on
Commit
ad1e1df
1 Parent(s): 3b56d11

Update TextGen/suno.py

Browse files
Files changed (1) hide show
  1. 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(prompt):
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)