mohcineelharras
commited on
Commit
β’
e13bb32
1
Parent(s):
8df831b
prep merge
Browse files- data/Laws of football 2023_24.pdf +0 -3
- data/{doctest.txt β quickbio.txt} +0 -0
- test.py +15 -0
data/Laws of football 2023_24.pdf
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:ac662982a2ea534e57c260314bd2fbedc971e86bf222e2bda3cf253c46956db4
|
3 |
-
size 66134439
|
|
|
|
|
|
|
|
data/{doctest.txt β quickbio.txt}
RENAMED
File without changes
|
test.py
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
|
3 |
+
def update_text_area():
|
4 |
+
# Your code to update the value of the text area
|
5 |
+
st.session_state.text = "Updated text"
|
6 |
+
|
7 |
+
if "text" not in st.session_state:
|
8 |
+
st.session_state["text"] = ""
|
9 |
+
|
10 |
+
text_area = st.text_area("Enter text", value=st.session_state["text"], height=200)
|
11 |
+
|
12 |
+
# Button to trigger the callback function
|
13 |
+
if st.button("Update text"):
|
14 |
+
update_text_area()
|
15 |
+
|