Spaces:
Running
Running
| import streamlit as st | |
| st.set_page_config(page_title='GPTOmics', page_icon='π§¬',) | |
| st.title('Simple Geno Model π§¬π€') | |
| st.markdown('Runs basic machine learning on genomics files.') | |
| st.markdown('_Nothing in this app constitutes professional and/or medical advice._') | |
| st.write('## Welcome to GPTomics! π') | |
| st.markdown( | |
| ''' | |
| GPTomics is a the product of a group of collaborators specifically | |
| built for exploring machine learing applications in bioinformatics. | |
| These applications vary from traditional ML all the way to modern | |
| large language models. | |
| **π Select a demo from the sidebar** to see some examples | |
| of what GPTomics can do! | |
| ### Want to learn more? | |
| - Check out [gptomics.com](https://gptomics.com) | |
| - Ask a question on our [github](https://github.com/GPTomics) | |
| ### Our Demos Currently Are | |
| - **HLA Gene Prediction** a simple prediction of the HLA gene based on the sequence. This works best with the longer the sequence and is only trained for human samples. | |
| - **Species Prediction** predicts the species based on a 1-5mb strand. This works only for mammal sequences and is super janky so don't expect great results. | |
| ''' | |
| ) | |
| # Custom footer | |
| footer='''<style> | |
| .footer {left: 0;bottom: 0;width: 100%;background-color: white;color: black;text-align: center;} | |
| </style> | |
| <div class="footer"> | |
| <p>Β© GPTOmics 2024, Developed with π€ͺ by the GPTomics Crew.</p> | |
| </div> | |
| ''' | |
| st.markdown(footer,unsafe_allow_html=True) | |
| # page_names_to_funcs = { | |
| # 'Home': intro, | |
| # 'HLA Ge Demo': plotting_demo, | |
| # 'Mapping Demo': mapping_demo | |
| # } | |
| # demo_name = st.sidebar.selectbox('Choose a demo', page_names_to_funcs.keys()) | |
| # page_names_to_funcs[demo_name]() |