jeysshon commited on
Commit
6a0ff1d
·
verified ·
1 Parent(s): 721c976

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -38,15 +38,16 @@ def hablar_texto(texto):
38
  except Exception as e:
39
  st.error(f"Error al generar el audio: {e}")
40
 
41
- st.title("🤖 ¡Bienvenido a ChatBot!")
42
-
43
- espacio_contenido_generado = st.empty()
44
-
45
  # Cargar y aplicar CSS personalizado
46
  with open("./style.css") as f:
47
  st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
48
 
49
- st.write("¡Hola! Soy tu asistente virtual. ¿Cómo puedo ayudarte hoy? 😊")
 
 
 
 
 
50
 
51
  col1, col2 = st.columns([1, 3])
52
 
@@ -72,4 +73,4 @@ with col2:
72
  respuesta = procesar_imagen(imagen)
73
  espacio_contenido_generado.write(f"**Respuesta de la imagen:** {respuesta}")
74
 
75
- st.write("¡Gracias por usar el ChatBot! 😊")
 
38
  except Exception as e:
39
  st.error(f"Error al generar el audio: {e}")
40
 
 
 
 
 
41
  # Cargar y aplicar CSS personalizado
42
  with open("./style.css") as f:
43
  st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
44
 
45
+ # Título centrado
46
+ st.markdown("<h1 style='text-align: center;'>🤖 ¡Bienvenido a Soph-IA!</h1>", unsafe_allow_html=True)
47
+
48
+ espacio_contenido_generado = st.empty()
49
+
50
+ st.write("¡Hola! Soy Soph-IA, tu asistente virtual. ¿Cómo puedo ayudarte hoy? 😊")
51
 
52
  col1, col2 = st.columns([1, 3])
53
 
 
73
  respuesta = procesar_imagen(imagen)
74
  espacio_contenido_generado.write(f"**Respuesta de la imagen:** {respuesta}")
75
 
76
+ st.write("¡Gracias por usar Soph-IA! 😊")