File size: 427 Bytes
ee450c7
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr

def chat_prueba(mensaje, historial):
    return f"¡Hola! Soy el sistema de Re-Gen Automotriz. Recibí tu mensaje: '{mensaje}'. (Aún estoy conectando mis cables al modelo principal, ¡dame chance!)"

demo = gr.ChatInterface(
    fn=chat_prueba,
    title="🏢 Re-Gen Automotriz AI (Fase 1)",
    description="Interfaz de prueba. El modelo de IA se está conectando...",
    theme="soft"
)

demo.launch()