File size: 627 Bytes
446d2fd
504b672
60210e6
504b672
 
 
 
df623a9
504b672
 
 
 
 
 
5906ce7
504b672
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import gradio as gr
import gemini_gradio

with gr.Blocks(fill_height=True) as demo:
    # Centrado con HTML
    gr.Markdown("<h1 style='text-align:center;'>CopyMaster</h1>")  # Título centrado
    gr.Markdown("<h3 style='text-align:center;'>El escritor de ventas que nunca duerme, siempre listo para conectar, cautivar y convencer a tu audiencia.</h3>")  # Subtítulo centrado
    
    gemini_interface = gr.load(
        name="gemini-1.5-flash",  # Se establece el modelo por defecto
        src=gemini_gradio.registry,
        fill_height=True,
        chatbot=gr.Chatbot(type="messages")
    )

demo.launch(ssr_mode=False)