Skip to content

FastTextLanguageDetector not download with from_pretrained #7

@ncoop57

Description

@ncoop57

Describe the bug
When attempting to download a pretrained FastTextLanguageDetector model, the model is not downloaded.

To Reproduce
Steps to reproduce the behavior:

from squeakily.helpers import FastTextLanguageDetector

fasttext_model = FastTextLanguageDetector.from_pretrained()

Additional context
I think the bad line is: https://github.com/CarperAI/squeakily/blob/main/squeakily/helpers.py#L7331

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions