Skip to content

please make user agent string configurable #2554

@anojht

Description

@anojht

Hello Replicate team,

We're using your whisperx containers for transcription services. We pass in audio file urls that need to be fetched.
However, some services reject the request due to the user agent string for the request.

Tracing the code, the request gets made on this line with no way to configure the headers or request before it's made:

resp = requests.get(url, stream=True, timeout=10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions