Overview
This Template takes in an audio file and translate it to English.
Variables
|
Name |
Reference |
Type |
Required |
Default |
Options |
Description |
|---|---|---|---|---|---|---|
|
API Key |
WHISPER_API_KEY |
Password |
✅ |
- |
- |
API Key from OpenAI |
|
Audio File |
WHISPER_FILE |
Alphanumeric |
✅ |
- |
- |
The audio file that you would like to translate to English |
|
Transcription File Name |
WHISPER_DESTINATION_FILE_NAME |
Alphanumeric |
✅ |
- |
- |
The name of the text file where the transcription will go |
YAML
Below is the YAML template for this Template and can be used in the Fleet YAML Editor.
source:
blueprint: Whisper - Translate Audio to English with API
inputs:
WHISPER_API_KEY: null ## REQUIRED
WHISPER_FILE: null ## REQUIRED
WHISPER_DESTINATION_FILE_NAME: null ## REQUIRED
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '0'