Spaces:
Runtime error
Runtime error
Download app.py from neuralcomputation/batik: direct link, hf CLI and curl.
- Browser
- Download file 613 Bytes
-
https://huggingface.co/spaces/neuralcomputation/batik/resolve/main/app.py
- Command line
-
hf download hf://spaces/neuralcomputation/batik/app.py
-
curl -L -o app.py https://huggingface.co/spaces/neuralcomputation/batik/resolve/main/app.py
613 Bytes
| import os | |
| import streamlit as st | |
| pages = { | |
| "home": [ | |
| st.Page("home.py",title="about",icon=":material/home:") | |
| ], | |
| "generate embeddings": [ | |
| st.Page("generate_embeddings.py", title="generate",icon=":material/dataset:") | |
| ], | |
| "annotation": [ | |
| st.Page("train_model.py", title="train model",icon=":material/model_training:"), | |
| st.Page("apply_model.py", title="apply model",icon=":material/grade:"), | |
| ], | |
| "behavior discovery": [ | |
| st.Page("explore.py", title="explore",icon=":material/search:") | |
| ], | |
| } | |
| pg = st.navigation(pages) | |
| pg.run() | |