MySafeCode commited on
Commit
38418b5
·
verified ·
1 Parent(s): eac0ab1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +49 -0
app.py CHANGED
@@ -404,6 +404,55 @@ with gr.Blocks() as app:
404
  - Check status again
405
  - Generation may have failed
406
  """)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
407
 
408
  gr.Markdown("---")
409
  gr.Markdown(
 
404
  - Check status again
405
  - Generation may have failed
406
  """)
407
+
408
+ with gr.Tab("📚 More Instructions"):
409
+ gr.Markdown("""
410
+ ## 📖 How to Use This App
411
+
412
+ ### 🎶 Generate Song Tab
413
+ 1. **Enter Lyrics** (or leave empty for instrumental)
414
+ 2. **Set Music Style** (e.g., "Pop", "Rock", "Jazz")
415
+ 3. **Enter Song Title**
416
+ 4. **Choose Model** (V4_5ALL recommended)
417
+ 5. **Click "Generate Song"**
418
+
419
+ ### 🔍 Check Any Task Tab
420
+ 1. **Paste any Suno Task ID**
421
+ 2. **Click "Check Status"**
422
+ 3. **View results and download links**
423
+
424
+ ### ⏱️ What to Expect
425
+
426
+ **After generating:**
427
+ - You'll get a **Task ID** immediately
428
+ - Generation takes **1-3 minutes**
429
+ - **Callback** sent to https://1hit.no/gen/cb.php
430
+ - Use Task ID to **check status manually**
431
+
432
+ **Task IDs come from:**
433
+ - Song Generator (this app)
434
+ - Vocal Separator (other app)
435
+ - Any Suno API request
436
+
437
+ ### 🎵 Getting Your Songs
438
+
439
+ 1. **Stream URL:** Ready in 30-60 seconds
440
+ 2. **Download URL:** Ready in 2-3 minutes
441
+ 3. **Both appear in status check**
442
+ 4. **Audio player** included for streaming
443
+
444
+ ### 🔧 Troubleshooting
445
+
446
+ **Task not found?**
447
+ - Wait a few minutes
448
+ - Check callback logs at https://1hit.no/gen/view.php
449
+ - Ensure Task ID is correct
450
+
451
+ **No audio links?**
452
+ - Wait 2-3 minutes
453
+ - Check status again
454
+ - Generation may have failed
455
+ """)
456
 
457
  gr.Markdown("---")
458
  gr.Markdown(