Spaces:
Runtime error
Runtime error
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
|