Whisper Wrapper (v16.0)

About this version

About this app (See raw metadata.json)

A CLAMS wrapper for Whisper-based ASR software originally developed by OpenAI.

Inputs

(Note: “*” as a property value means that the property is required but can be any value.)

One of the following is required: [

]

Configurable Parameters

(Note: Multivalued means the parameter can have one or more values.)

  • model: optional, defaults to turbo

    • Type: string
    • Multivalued: False
    • Choices: tiny.en, tiny, base.en, base, small.en, small, medium.en, medium, large-v1, large-v2, large-v3, large-v3-turbo, t, b, s, m, l, l2, l3, tu, large, turbo

    (from openai-whisper CLI) name of the Whisper model to use. Canonical names are the keys of this app’s analyzer_versions; short aliases (e.g. tu/turbo for large-v3-turbo) are also accepted.

  • language: optional, defaults to ""

    • Type: string
    • Multivalued: False

    (from openai-whisper CLI) language spoken in the audio, specify None to perform language detection. For the list of supported language codes, see https://github.com/openai/whisper/blob/04f449b8a437f1bbd3dba5c9f826aca972e7709a/whisper/tokenizer.py

  • task: optional, defaults to transcribe

    • Type: string
    • Multivalued: False
    • Choices: transcribe, translate

    (from openai-whisper CLI) whether to perform X->X speech recognition (‘transcribe’) or X->English translation (‘translate’)

  • initialPrompt: optional, defaults to ""

    • Type: string
    • Multivalued: False

    (from openai-whisper CLI) optional text to provide as a prompt for the first window.

  • conditionOnPreviousText: optional, defaults to True

    • Type: string
    • Multivalued: False

    (from openai-whisper CLI) if True, provide the previous output of the model as a prompt for the next window; disabling may make the text inconsistent across windows, but the model becomes less prone to getting stuck in a failure loop

  • noSpeechThreshold: optional, defaults to 0.6

    • Type: number
    • Multivalued: False
    (from openai-whisper CLI) if the probability of the < nospeech > token is higher than this value AND the decoding has failed due to logprob_threshold, consider the segment as silence
  • pretty: optional, defaults to false

    • Type: boolean
    • Multivalued: False
    • Choices: false, true

    The JSON body of the HTTP response will be re-formatted with 2-space indentation

  • runningTime: optional, defaults to true

    • Type: boolean
    • Multivalued: False
    • Choices: false, true

    The running time of the app will be recorded in the view metadata

  • hwFetch: optional, defaults to false

    • Type: boolean
    • Multivalued: False
    • Choices: false, true

    The hardware information (architecture, GPU and vRAM) will be recorded in the view metadata

  • tfSamplingMode: optional, defaults to representatives

    • Type: string
    • Multivalued: False
    • Choices: representatives, single, all

    Sampling mode for TimeFrame annotations. Has no effect when the app does not process TimeFrames. “representatives” uses all representative timepoints if present, otherwise skips the TimeFrame. “single” uses the middle representative if present, otherwise extracts an image from the midpoint of the start/end interval (midpoint is calculated by floor division of the sum of start and end). “all” uses all target timepoints if present, otherwise extracts all images from the time interval.

Outputs

(Note: “*” as a property value means that the property is required but can be any value.)

(Note: Not all output annotations are always generated.)