alphayomega
commited on
Commit
•
d2f5f9c
1
Parent(s):
7954eab
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,47 @@ _ = load_dotenv(find_dotenv())
|
|
10 |
# Configurar la página de Streamlit
|
11 |
st.set_page_config(page_icon="📃", layout="wide", page_title="Groq & LLaMA3.1 Chat Bot...")
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
def icon(emoji: str):
|
14 |
"""Muestra un emoji como ícono de página estilo Notion."""
|
15 |
st.write(
|
|
|
10 |
# Configurar la página de Streamlit
|
11 |
st.set_page_config(page_icon="📃", layout="wide", page_title="Groq & LLaMA3.1 Chat Bot...")
|
12 |
|
13 |
+
# Menú superior con título y enlaces
|
14 |
+
st.markdown(
|
15 |
+
"""
|
16 |
+
<style>
|
17 |
+
.menu-container {
|
18 |
+
padding: 20px;
|
19 |
+
background-color: #f4f4f4;
|
20 |
+
border-bottom: 1px solid #e1e1e1;
|
21 |
+
}
|
22 |
+
.menu-title {
|
23 |
+
font-size: 24px;
|
24 |
+
font-weight: bold;
|
25 |
+
margin-bottom: 10px;
|
26 |
+
}
|
27 |
+
.menu-description {
|
28 |
+
line-height: 1.5;
|
29 |
+
}
|
30 |
+
.menu-description a {
|
31 |
+
color: #1f77b4;
|
32 |
+
text-decoration: none;
|
33 |
+
}
|
34 |
+
.menu-description a:hover {
|
35 |
+
text-decoration: underline;
|
36 |
+
}
|
37 |
+
</style>
|
38 |
+
<div class="menu-container">
|
39 |
+
<p class="menu-title">Bot con I.A. para crear MARKETING DE CONTENIDOS de productos.</p>
|
40 |
+
<p class="menu-description">
|
41 |
+
Herramienta de apoyo para crear MARKETING DE CONTENIDOS para medios Electrónicos.<br><br>
|
42 |
+
Si desea usar otro BOT de I.A. escoja:<br>
|
43 |
+
<a href='https://sentrycom-bot-mc.hf.space'>Marketing de Contenidos |</a>
|
44 |
+
<a href='https://sentrycom-bot-tit.hf.space'> Creacion de TITULOS |</a>
|
45 |
+
<a href='https://sentrycom-bot-dp.hf.space'> Descripcion de Productos |</a>
|
46 |
+
<a href='https://sentrycom-bot-cp.hf.space'> Caracteristicas de Productos |</a>
|
47 |
+
<a href='https://wa.me/51927929109'> Desarrollado por MAGNET IMPACT - Agencia de Marketing Digital</a>
|
48 |
+
</p>
|
49 |
+
</div>
|
50 |
+
""",
|
51 |
+
unsafe_allow_html=True
|
52 |
+
)
|
53 |
+
|
54 |
def icon(emoji: str):
|
55 |
"""Muestra un emoji como ícono de página estilo Notion."""
|
56 |
st.write(
|