Spaces:
Runtime error
Runtime error
File size: 1,427 Bytes
643da87 4f30b91 9aea7f2 ca86fcc 643da87 ca86fcc 643da87 3ed4844 9aea7f2 9e61e80 643da87 3ed4844 643da87 3ed4844 643da87 4f30b91 643da87 9e61e80 643da87 5650907 643da87 9e61e80 643da87 4f30b91 643da87 8402ed5 643da87 718659c 643da87 9e61e80 643da87 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# librerias
import streamlit as st
from streamlit_option_menu import option_menu
# paginas
from page.analisis import Analisis
from page.contact import Contact
from page.home import Home
from page.machine_learning import ML
from page.new import New
# link necesario para bootstrap
st.markdown("""<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>""",
unsafe_allow_html=True)
# Menu horizontal
selected2 = option_menu(None, ["Home", "Análisis", "ML", "New", "Contact"],
icons=['house', 'bi-archive', "bi-robot",
"bi-arrow-up-right-square",
"bi-envelope"],
menu_icon="cast",
default_index=0,
orientation="horizontal",
)
# Home
if selected2 == "Home":
Home()
# Análisis
if selected2 == "Análisis":
Analisis()
# ML
if selected2 == "ML":
ML()
# New
if selected2 == "New":
New()
# Contact
if selected2 == "Contact":
Contact()
|