From 01742061dd4513d39eafb573745fa85b54342388 Mon Sep 17 00:00:00 2001 From: "Sebastian._.411._" <84807030+Debug41@users.noreply.github.com> Date: Tue, 7 May 2024 09:31:08 -0500 Subject: [PATCH] fixing --- backend/model/generative_model.py | 2 ++ frontend/src/components/Footer.jsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/model/generative_model.py b/backend/model/generative_model.py index 214ec58..6272f79 100644 --- a/backend/model/generative_model.py +++ b/backend/model/generative_model.py @@ -16,4 +16,6 @@ def generate_content(self, content, generation_config, safety_settings): safety_settings=safety_settings, stream=False, ) + + return response.candidates[0].content.parts[0].text diff --git a/frontend/src/components/Footer.jsx b/frontend/src/components/Footer.jsx index 9fa9eb4..62cf25b 100644 --- a/frontend/src/components/Footer.jsx +++ b/frontend/src/components/Footer.jsx @@ -62,7 +62,7 @@ function Footer() { Consentimiento informado