Spaces:
Sleeping
Sleeping
freeman.genie777@gmail.com
commited on
Commit
·
ba378b3
1
Parent(s):
3810c73
enhance: hide default tabs in sidebar-dark theme
Browse files- modules/nav.py +1 -2
- requirements_2025jun24.yaml +0 -160
- streamlit_app_local/modules/nav.py +7 -0
modules/nav.py
CHANGED
@@ -4,8 +4,7 @@ import streamlit as st
|
|
4 |
def Navbar(sidebar_placeholder, toggle_hashstr: str = ""):
|
5 |
st.markdown("""
|
6 |
<style>
|
7 |
-
|
8 |
-
#root > div:nth-child(1) > div.withScreencast > div > div > section.stSidebar.st-emotion-cache-11wc8as.eczjsme18 > div.st-emotion-cache-6qob1r.eczjsme11 > div.st-emotion-cache-bjn8wh.eczjsme17 > ul{
|
9 |
display: none;
|
10 |
}
|
11 |
</style>
|
|
|
4 |
def Navbar(sidebar_placeholder, toggle_hashstr: str = ""):
|
5 |
st.markdown("""
|
6 |
<style>
|
7 |
+
[data-testid="stSidebarNav"] {
|
|
|
8 |
display: none;
|
9 |
}
|
10 |
</style>
|
requirements_2025jun24.yaml
DELETED
@@ -1,160 +0,0 @@
|
|
1 |
-
name: va
|
2 |
-
channels:
|
3 |
-
- conda-forge
|
4 |
-
dependencies:
|
5 |
-
- _libgcc_mutex=0.1=conda_forge
|
6 |
-
- _openmp_mutex=4.5=2_gnu
|
7 |
-
- bzip2=1.0.8=hd590300_5
|
8 |
-
- ca-certificates=2024.2.2=hbcca054_0
|
9 |
-
- ld_impl_linux-64=2.40=hf3520f5_1
|
10 |
-
- libexpat=2.6.2=h59595ed_0
|
11 |
-
- libffi=3.4.2=h7f98852_5
|
12 |
-
- libgcc-ng=13.2.0=h77fa898_7
|
13 |
-
- libgomp=13.2.0=h77fa898_7
|
14 |
-
- libnsl=2.0.1=hd590300_0
|
15 |
-
- libsqlite=3.45.3=h2797004_0
|
16 |
-
- libuuid=2.38.1=h0b41bf4_0
|
17 |
-
- libxcrypt=4.4.36=hd590300_1
|
18 |
-
- libzlib=1.2.13=h4ab18f5_6
|
19 |
-
- ncurses=6.5=h59595ed_0
|
20 |
-
- openssl=3.3.0=h4ab18f5_3
|
21 |
-
- pip=24.0=pyhd8ed1ab_0
|
22 |
-
- python=3.11.9=hb806964_0_cpython
|
23 |
-
- readline=8.2=h8228510_1
|
24 |
-
- setuptools=70.0.0=pyhd8ed1ab_0
|
25 |
-
- tk=8.6.13=noxft_h4845f30_101
|
26 |
-
- wheel=0.43.0=pyhd8ed1ab_1
|
27 |
-
- xz=5.2.6=h166bdaf_0
|
28 |
-
- pip:
|
29 |
-
- aiofiles==23.2.1
|
30 |
-
- altair==5.4.1
|
31 |
-
- annotated-types==0.7.0
|
32 |
-
- anyio==4.4.0
|
33 |
-
- asttokens==2.4.1
|
34 |
-
- attrs==23.2.0
|
35 |
-
- blinker==1.8.2
|
36 |
-
- cachetools==5.5.0
|
37 |
-
- certifi==2024.2.2
|
38 |
-
- cfgv==3.4.0
|
39 |
-
- charset-normalizer==3.3.2
|
40 |
-
- click==8.1.7
|
41 |
-
- comm==0.2.2
|
42 |
-
- contourpy==1.2.1
|
43 |
-
- cycler==0.12.1
|
44 |
-
- debugpy==1.8.2
|
45 |
-
- decorator==5.1.1
|
46 |
-
- distlib==0.3.8
|
47 |
-
- distro==1.9.0
|
48 |
-
- et-xmlfile==1.1.0
|
49 |
-
- executing==2.0.1
|
50 |
-
- fastapi==0.115.3
|
51 |
-
- fastchat==0.1.0
|
52 |
-
- ffmpy==0.4.0
|
53 |
-
- filelock==3.16.1
|
54 |
-
- fire==0.6.0
|
55 |
-
- fonttools==4.53.1
|
56 |
-
- fsspec==2024.9.0
|
57 |
-
- gitdb==4.0.11
|
58 |
-
- gitpython==3.1.43
|
59 |
-
- gradio==5.3.0
|
60 |
-
- gradio-client==1.4.2
|
61 |
-
- h11==0.14.0
|
62 |
-
- httpcore==1.0.5
|
63 |
-
- httpx==0.27.0
|
64 |
-
- huggingface-hub==0.25.1
|
65 |
-
- identify==2.6.1
|
66 |
-
- idna==3.7
|
67 |
-
- ipdb==0.13.13
|
68 |
-
- ipykernel==6.29.5
|
69 |
-
- ipython==8.26.0
|
70 |
-
- jedi==0.19.1
|
71 |
-
- jinja2==3.1.4
|
72 |
-
- jiter==0.7.1
|
73 |
-
- joblib==1.4.2
|
74 |
-
- jsonlines==4.0.0
|
75 |
-
- jsonschema==4.23.0
|
76 |
-
- jsonschema-specifications==2023.12.1
|
77 |
-
- jupyter-client==8.6.2
|
78 |
-
- jupyter-core==5.7.2
|
79 |
-
- kaleido==0.2.1
|
80 |
-
- kiwisolver==1.4.5
|
81 |
-
- markdown-it-py==3.0.0
|
82 |
-
- markupsafe==2.1.5
|
83 |
-
- matplotlib==3.9.1
|
84 |
-
- matplotlib-inline==0.1.7
|
85 |
-
- mdurl==0.1.2
|
86 |
-
- munch==4.0.0
|
87 |
-
- narwhals==1.8.3
|
88 |
-
- nest-asyncio==1.6.0
|
89 |
-
- networkx==3.3
|
90 |
-
- nodeenv==1.9.1
|
91 |
-
- numpy==1.26.4
|
92 |
-
- openai==1.54.4
|
93 |
-
- openpyxl==3.1.5
|
94 |
-
- orjson==3.10.10
|
95 |
-
- packaging==24.0
|
96 |
-
- pandas==2.2.2
|
97 |
-
- parso==0.8.4
|
98 |
-
- pexpect==4.9.0
|
99 |
-
- pillow==10.4.0
|
100 |
-
- platformdirs==4.2.2
|
101 |
-
- plotly==5.22.0
|
102 |
-
- pre-commit==3.8.0
|
103 |
-
- prompt-toolkit==3.0.47
|
104 |
-
- protobuf==5.28.2
|
105 |
-
- psutil==6.0.0
|
106 |
-
- ptyprocess==0.7.0
|
107 |
-
- pure-eval==0.2.2
|
108 |
-
- pyarrow==17.0.0
|
109 |
-
- pydantic==2.7.2
|
110 |
-
- pydantic-core==2.18.3
|
111 |
-
- pydeck==0.9.1
|
112 |
-
- pydub==0.25.1
|
113 |
-
- pygments==2.18.0
|
114 |
-
- pyparsing==3.1.2
|
115 |
-
- python-dateutil==2.9.0.post0
|
116 |
-
- python-multipart==0.0.12
|
117 |
-
- pytz==2024.1
|
118 |
-
- pyyaml==6.0.2
|
119 |
-
- pyzmq==26.0.3
|
120 |
-
- redis==5.0.4
|
121 |
-
- referencing==0.35.1
|
122 |
-
- regex==2024.5.15
|
123 |
-
- requests==2.32.3
|
124 |
-
- rich==13.8.1
|
125 |
-
- rpds-py==0.20.0
|
126 |
-
- ruff==0.7.0
|
127 |
-
- safetensors==0.4.5
|
128 |
-
- scikit-learn==1.5.0
|
129 |
-
- scipy==1.13.1
|
130 |
-
- seaborn==0.13.2
|
131 |
-
- semantic-version==2.10.0
|
132 |
-
- shellingham==1.5.4
|
133 |
-
- six==1.16.0
|
134 |
-
- smmap==5.0.1
|
135 |
-
- sniffio==1.3.1
|
136 |
-
- stack-data==0.6.3
|
137 |
-
- starlette==0.41.0
|
138 |
-
- streamlit==1.40.1
|
139 |
-
- tabulate==0.9.0
|
140 |
-
- tenacity==8.3.0
|
141 |
-
- termcolor==2.4.0
|
142 |
-
- threadpoolctl==3.5.0
|
143 |
-
- tiktoken==0.9.0
|
144 |
-
- tokenizers==0.20.0
|
145 |
-
- toml==0.10.2
|
146 |
-
- tomlkit==0.12.0
|
147 |
-
- tornado==6.4.1
|
148 |
-
- tqdm==4.66.4
|
149 |
-
- traitlets==5.14.3
|
150 |
-
- transformers==4.45.1
|
151 |
-
- typer==0.12.5
|
152 |
-
- typing-extensions==4.12.0
|
153 |
-
- tzdata==2024.1
|
154 |
-
- urllib3==2.2.1
|
155 |
-
- uvicorn==0.32.0
|
156 |
-
- virtualenv==20.26.6
|
157 |
-
- watchdog==4.0.2
|
158 |
-
- wcwidth==0.2.13
|
159 |
-
- websockets==12.0
|
160 |
-
prefix: /home/deftson/miniconda3/envs/va
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
streamlit_app_local/modules/nav.py
CHANGED
@@ -2,6 +2,13 @@ import streamlit as st
|
|
2 |
|
3 |
|
4 |
def Navbar(sidebar_placeholder, toggle_hashstr: str = ""):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
with sidebar_placeholder.container():
|
6 |
st.toggle(
|
7 |
"🇰🇷 한국어로 보기",
|
|
|
2 |
|
3 |
|
4 |
def Navbar(sidebar_placeholder, toggle_hashstr: str = ""):
|
5 |
+
st.markdown("""
|
6 |
+
<style>
|
7 |
+
[data-testid="stSidebarNav"] {
|
8 |
+
display: none;
|
9 |
+
}
|
10 |
+
</style>
|
11 |
+
""", unsafe_allow_html=True)
|
12 |
with sidebar_placeholder.container():
|
13 |
st.toggle(
|
14 |
"🇰🇷 한국어로 보기",
|