Spaces:
Runtime error
Runtime error
Commit 路
b32aac3
1
Parent(s): fb61f1a
colores equitas
Browse files251 unmodified lines252253254255256257258251 unmodified linesiface = gr.ChatInterface(fn=teo,title="馃 Soy TEO el asistente digital de Equitas Consultora",description="隆Conversemos!")iface.launch()251 unmodified lines252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348251 unmodified linesiface = gr.ChatInterface(fn=teo,title="馃 Soy TEO el asistente digital de Equitas Consultora",description="隆Conversemos!",css="""/* Color de fondo principal */.gradio-container {background-color: #881781;}/* Color de fondo del 谩rea de chat */.bubble-wrap.svelte-1sepu1 {background-color: white !important;}/* Color del globo de mensaje del USUARIO */.message.user.svelte-1x5p6hu {background-color: #881781 !important;color: white !important; /* Aseguramos que el texto dentro del globo sea blanco para que contraste */}/* --- MUY IMPORTANTE: Color del texto dentro del globo del usuario para asegurar legibilidad en m贸vil y siempre --- *//* Apuntamos al span que contiene el texto formateado por Gradio */.message.user .md.svelte-7ddecg.chatbot.prose,.message.user .md.svelte-7ddecg.chatbot.prose p {color: white !important;}/* Color del globo de mensaje del BOT */.message.bot.svelte-1x5p6hu {background-color: #cc8cbc !important;color: white !important;}/* Color de fondo del 谩rea de entrada de texto (parte 1) */.input-container.svelte-wtpsjj {background-color: white !important;border-radius: 20px;padding: 5px 10px;}/* Apuntamos directamente al textarea para el color de fondo y texto */textarea.svelte-wtpsjj.no-label {background-color: white !important;color: black !important;}/* Color de fondo del 谩rea de entrada de texto (parte 2 - para el div 'hide' y sus padres) */.wrap.default.full.svelte-ls20lj.hide {background-color: white !important;}div#component-6.block.svelte-5y6bt2.padded {background-color: white !important;}div.form.svelte-633qhp {background-color: white !important;}div.row.svelte-hrj4a0.unequal-height {background-color: white !important;}div#component-4.gr-group.svelte-1nguped {background-color: white !important;}/* Asegurar que el bot贸n de enviar mantenga su visibilidad */.submit-button.svelte-wtpsjj {background-color: transparent !important;color: #881781 !important;}/* Secci贸n para ajustes en m贸viles */@media (max-width: 768px) {.message.bot, .message.user {max-width: 85% !important;margin-right: 0 !important;margin-left: 0 !important;}.main_div {border-radius: 0 !important;box-shadow: none !important;}/* Reforzar el color blanco para el texto del usuario en m贸vil */.message.user .md.svelte-7ddecg.chatbot.prose,.message.user .md.svelte-7ddecg.chatbot.prose p {color: white !important;}}""")iface.launch()
app.py+91-1