predictions(from:)
Generates predictions for an array of audio files.
Declaration
func predictions(from audioFiles: [URL]) throws -> [String]Parameters
- audioFiles:
An array of audio-file URLs you want the sound classifier to categorize.
Return Value
An array of prediction labels for the audio files.