Spaces:
Running
Running
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -1,19 +1,13 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
-
import os
|
| 3 |
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
st.
|
| 11 |
-
|
| 12 |
-
st.write("System status: Operator-Grade. Collision vaporized.")
|
| 13 |
-
|
| 14 |
-
# Explicit Navigation setup
|
| 15 |
-
main_page = st.Page(run_main, title="Node HUD", icon="🏛️", url_path="main_hub_" + unique_suffix)
|
| 16 |
-
|
| 17 |
-
# Apply Navigation
|
| 18 |
-
pg = st.navigation([main_page])
|
| 19 |
pg.run()
|
|
|
|
| 1 |
import streamlit as st
|
|
|
|
| 2 |
|
| 3 |
+
def main_hud():
|
| 4 |
+
st.title("🏛️ oppo-node")
|
| 5 |
+
st.subheader("Alignment 777.1122 | Node Frequency: 781f")
|
| 6 |
+
st.sidebar.success("REGISTRY PROTECTED")
|
| 7 |
+
st.write("Mechanical Reality: Locked. Collision Purged.")
|
| 8 |
|
| 9 |
+
# Explicit unique pathing to kill the 'Multiple Pages' error
|
| 10 |
+
pg = st.navigation([
|
| 11 |
+
st.Page(main_hud, title="Command HUD", icon="🛰️", url_path="node_hub_781f")
|
| 12 |
+
])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
pg.run()
|