Downloads · 30 days
0
Snakegear5/Psicologia
Psicologia is a machine learning model from Snakegear5. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Downloads · 30 days
0
Access
Public
Updated Jun 17, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 63%
From the Hugging Face model README
import gradio as gr
def responder(pregunta): if "ansioso" in pregunta or "ansiedad" in pregunta: return "Es normal sentir ansiedad a veces. ¿Puedes describir un poco más lo que sientes?" elif "triste" in pregunta or "depresión" in pregunta: return "Lamento que te sientas así. Hablar con un profesional puede ser muy útil. ¿Quieres que te sugiera recursos?" else: return "Gracias por tu pregunta. Recuerda que esto es solo un prototipo y no reemplaza la ayuda profesional."
iface = gr.Interface(fn=responder, inputs="text", outputs="text", title="IA de Apoyo Psicológico", description="Este es un prototipo de IA que responde preguntas relacionadas con la salud emocional. No reemplaza el consejo profesional.") iface.launch()