Upload app.py
Browse files
app.py
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Audio Analysis to Suno Prompt Generator
|
2 |
+
|
3 |
+
This Hugging Face Space analyzes audio files and generates Suno-compatible prompts based on their musical characteristics.
|
4 |
+
|
5 |
+
## Features
|
6 |
+
|
7 |
+
- Extracts musical key, tempo, and instrument types from audio
|
8 |
+
- Uses OpenVINO for audio separation
|
9 |
+
- Generates concise prompts (<200 characters) suitable for Suno
|
10 |
+
- Supports multiple genres
|
11 |
+
- Web interface for easy use
|
12 |
+
|
13 |
+
## How to Use
|
14 |
+
|
15 |
+
1. Upload an audio file (MP3 format recommended)
|
16 |
+
2. Select a genre from the dropdown
|
17 |
+
3. Click "Submit" to generate a prompt
|
18 |
+
4. Copy the generated prompt for use with Suno
|
19 |
+
|
20 |
+
## Technical Details
|
21 |
+
|
22 |
+
The app uses:
|
23 |
+
- Librosa for audio analysis
|
24 |
+
- OpenVINO for audio separation
|
25 |
+
- Gradio for the web interface
|
26 |
+
|
27 |
+
## Notes
|
28 |
+
|
29 |
+
- Maximum file size: 100MB
|
30 |
+
- Supported formats: MP3, WAV
|
31 |
+
- Processing may take a few minutes depending on file size
|