Spaces:
Runtime error
Runtime error
Download Home.py from Archon/streamlit-parent: direct link, hf CLI and curl.
- Browser
- Download file 404 Bytes
-
https://huggingface.co/spaces/Archon/streamlit-parent/resolve/main/Home.py
- Command line
-
hf download hf://spaces/Archon/streamlit-parent/Home.py
-
curl -L -o Home.py https://huggingface.co/spaces/Archon/streamlit-parent/resolve/main/Home.py
404 Bytes
| import streamlit as st | |
| from database import Base, engine, get_db | |
| from models.t_smi_rank_list_source import TSmiRankListSource, init_mock_data | |
| Base.metadata.create_all( | |
| bind=engine, | |
| checkfirst=True, | |
| tables=[TSmiRankListSource.__table__], | |
| ) | |
| with next(get_db()) as db: | |
| init_mock_data(db) | |
| st.set_page_config(layout="centered", page_title="Streamlit App", page_icon="⚙️") | |