Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Warn users when text is in non-supported language #12

Open
dmlls opened this issue Feb 16, 2022 · 0 comments
Open

Warn users when text is in non-supported language #12

dmlls opened this issue Feb 16, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@dmlls
Copy link
Member

dmlls commented Feb 16, 2022

The backend has been updated to the 0.0.2 version.

One of the changes is that now the backend will refuse to summarize texts in non-supported languages. The HTTP response in these cases is, e.g.:

422 Unprocesable Entity

{
    "detail": "detected language 'es' not supported"
}

When this happens, the app has to let the users know somehow. Probably for now a snackbar will do.

@dmlls dmlls added the enhancement New feature or request label Feb 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant