| # Use a pipeline as a high-level helper | |
| from transformers import pipeline | |
| pipe = pipeline("audio-classification", model="motheecreator/Deepfake-audio-detection") | |
| # Load model directly | |
| from transformers import AutoProcessor, AutoModelForAudioClassification | |
| processor = AutoProcessor.from_pretrained("motheecreator/Deepfake-audio-detection") | |
| model = AutoModelForAudioClassification.from_pretrained("motheecreator/Deepfake-audio-detection") |