Use this file to discover all available pages before exploring further.
If you only want to transcribe a portion of your file, you can set the audio_start_from and the audio_end_at parameters in your transcription config.
import assemblyai as aaiaai.settings.api_key = "<YOUR_API_KEY>"# audio_file = "./local_file.mp3"audio_file = "https://assembly.ai/wildfires.mp3"config = aai.TranscriptionConfig( audio_start_from=5000, # The start time of the transcription in milliseconds audio_end_at=15000 # The end time of the transcription in milliseconds)transcript = aai.Transcriber(config=config).transcribe(audio_file)if transcript.status == "error": raise RuntimeError(f"Transcription failed: {transcript.error}")print(transcript.text)