Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#60 uso de ia para gerar descricao de imagens #70

Merged
merged 11 commits into from
Sep 25, 2024

Conversation

guites
Copy link
Collaborator

@guites guites commented Sep 24, 2024

Este PR implementa o proposto nos issues #60 e #59 , permitindo que o admin adicione "texto alternativo" para as imagens das screenings.

O texto alternativo é o equivalente à propriedade alt das tags , onde é preenchido uma descrição da imagem para ajudar pessoas com deficiência visual/baixa visão.

Além disso, foi criada uma integração com a API Gemini do google, que permite enviar as imagens para uma geração automática da descrição das imagens.

@guites guites merged commit b5e10ed into implement-flask-backend Sep 25, 2024
@guites guites deleted the #60-uso-de-ia-alternative-impl branch September 25, 2024 01:45
guites added a commit that referenced this pull request Sep 28, 2024
* wip: integração inicial com API Gemini IA

* Inserts AI generated alt text into screening form

* Save image alt text on screening creation

* Show poster alt text whenever present

* Persist image alt on validation failure

* Implement alt generation for screening update

* Change gemini model (gemini-pro-vision seems to be discontinued)

* Add gemini key env var to example.env

* Adapt alt text generation for screenings with existing images

* Set BR timezone to docker container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uso de IA para gerar descrição de imagens Adicionar campo para salvar texto alternativo das imagens
1 participant