Commit 450d9bcf authored by Loïc Chapron's avatar Loïc Chapron

upgrade lang basic

parent 458d6498
...@@ -9,6 +9,7 @@ pip install st-pages ...@@ -9,6 +9,7 @@ pip install st-pages
```shell ```shell
pip install httpx[http2] pip install httpx[http2]
pip install youtube-transcript-api
``` ```
## Start Project ## Start Project
......
...@@ -65,13 +65,14 @@ def base(page): ...@@ -65,13 +65,14 @@ def base(page):
del st.session_state[key] del st.session_state[key]
# select the lang # select the lang
_,_,_,_,_, col = st.columns(6) coltitle,col = st.columns([4,1])
with coltitle:
st.write(st.session_state.general_text_dict['title'])
with col: with col:
col1, col2 = st.columns(2) _,col1, col2 = st.columns([1,1,1])
with col1: with col1:
st.button(':fr:', on_click=update_lang, args=('fr',)) st.button(':fr:', on_click=update_lang, args=('fr',))
with col2: with col2:
st.button(':us:', on_click=update_lang, args=('en',)) st.button(':us:', on_click=update_lang, args=('en',))
st.write(st.session_state.general_text_dict['title'])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment