Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +11 -2
requirements.txt
CHANGED
@@ -1,2 +1,11 @@
|
|
1 |
-
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# requirements.txt
|
2 |
+
|
3 |
+
# β¨ Core library for creating and running the interactive web application.
|
4 |
+
# β¨ Handles UI π¨ (e.g., st.button("Save"); st.selectbox("Choose", opts); st.sidebar); State πΎ (st.session_state.my_var = 10);
|
5 |
+
# β¨ Embedding HTML/JS πΌοΈ (st.components.v1.html(html_str)); App control π (st.rerun()).
|
6 |
+
streamlit
|
7 |
+
|
8 |
+
# βοΈ Enables two-way communication between Streamlit (Python) and JavaScript in HTML components.
|
9 |
+
# π->π» Sending commands (e.g., streamlit_js_eval(js_code=f"teleportPlayer({x},{z})"));
|
10 |
+
# π»->π Getting data back (e.g., streamlit_js_eval(js_code="getData()", key="data_key")).
|
11 |
+
streamlit-js-eval
|