|
Download README.md from ADMLab/admc: direct link, hf CLI and curl.
- Browser
- Download file 961 Bytes
-
https://huggingface.co/spaces/ADMLab/admc/resolve/main/README.md
- Command line
-
hf download hf://spaces/ADMLab/admc/README.md
-
curl -L -o README.md https://huggingface.co/spaces/ADMLab/admc/resolve/main/README.md
961 Bytes
| title: ADMC AI Music Detection | |
| emoji: 🎵 | |
| colorFrom: red | |
| colorTo: indigo | |
| sdk: gradio | |
| sdk_version: "5.9.1" | |
| python_version: "3.11" | |
| app_file: app.py | |
| pinned: false | |
| license: apache-2.0 | |
| # ADMC - Rilevamento Autorialita AI nella Musica | |
| Parte del sistema di certificazione **ADMC (Artigiani della Musica Code)**. | |
| Modello: `AI-Music-Detection/ai_music_detection_large_60s` | |
| ## API REST | |
| ### POST /analyze | |
| ```bash | |
| curl -X POST https://YOUR-SPACE.hf.space/analyze \ | |
| -H "Content-Type: audio/mpeg" \ | |
| --data-binary @brano.mp3 | |
| ``` | |
| Risposta: | |
| ```json | |
| [ | |
| {"label": "AI", "score": 0.12}, | |
| {"label": "Human", "score": 0.88} | |
| ] | |
| ``` | |
| ### GET /health | |
| Verifica stato del servizio. | |
| ## Configurazione nel Plugin WordPress | |
| 1. Copia l'URL del tuo Space: `https://YOUR-USERNAME-admc-ai-music-detection.hf.space` | |
| 2. Incollalo in **ADMC -> Impostazioni -> Endpoint personalizzato**: `https://YOUR-SPACE.hf.space/analyze` | |
| 3. Aggiungi il tuo **Hugging Face API Token** | |