haraberget commited on
Commit
0e4e605
·
verified ·
1 Parent(s): ddba688

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -25,7 +25,7 @@ def generate_lyrics(prompt):
25
  "https://api.sunoapi.org/api/v1/lyrics",
26
  json={
27
  "prompt": prompt,
28
- "callBackUrl": "http://dummy.com/callback" # Required but not used
29
  },
30
  headers={
31
  "Authorization": f"Bearer {SUNO_KEY}",
@@ -120,6 +120,10 @@ def generate_lyrics(prompt):
120
  with gr.Blocks(title="Suno Lyrics Generator", theme="soft") as app:
121
  gr.Markdown("# 🎵 Suno Lyrics Generator")
122
  gr.Markdown("Generate song lyrics using Suno AI")
 
 
 
 
123
 
124
  with gr.Row():
125
  with gr.Column(scale=1):
@@ -152,7 +156,7 @@ with gr.Blocks(title="Suno Lyrics Generator", theme="soft") as app:
152
  gr.Markdown(
153
  """
154
  <div style="text-align: center; padding: 20px;">
155
- <p>Powered by <a href="https://suno.ai" target="_blank">Suno AI</a> •
156
  <a href="https://sunoapi.org" target="_blank">Suno API Docs</a> •
157
  <a href="https://github.com" target="_blank">GitHub</a></p>
158
  <p><small>This app uses the Suno API to generate AI-powered lyrics.</small></p>
 
25
  "https://api.sunoapi.org/api/v1/lyrics",
26
  json={
27
  "prompt": prompt,
28
+ "callBackUrl": "https://1hit.no/txtcallback.php" # Required but not used
29
  },
30
  headers={
31
  "Authorization": f"Bearer {SUNO_KEY}",
 
120
  with gr.Blocks(title="Suno Lyrics Generator", theme="soft") as app:
121
  gr.Markdown("# 🎵 Suno Lyrics Generator")
122
  gr.Markdown("Generate song lyrics using Suno AI")
123
+ gr.Markdown("All songs are logged and public on 1hit.no(from 27th December 2025) and Suno AI")
124
+
125
+ gr.Markdown("""<a href="https://1hit.no/log.php" target="_blank">Song lyrics log</a></p>""")
126
+
127
 
128
  with gr.Row():
129
  with gr.Column(scale=1):
 
156
  gr.Markdown(
157
  """
158
  <div style="text-align: center; padding: 20px;">
159
+ <p>Powered by <a href="https://suno.com/invite/@espenvh" target="_blank">Suno AI</a> •
160
  <a href="https://sunoapi.org" target="_blank">Suno API Docs</a> •
161
  <a href="https://github.com" target="_blank">GitHub</a></p>
162
  <p><small>This app uses the Suno API to generate AI-powered lyrics.</small></p>