Download modules/semantic/semantic_interface_Test.py from AIdeaText/v5Prod: direct link, hf CLI and curl.
- Browser
- Download file 499 Bytes
-
https://huggingface.co/spaces/AIdeaText/v5Prod/resolve/183d66a55bc5f4e59cd467fbe679c0aaf7dda3c5/modules/semantic/semantic_interface_Test.py
- Command line
-
hf download hf://spaces/AIdeaText/v5Prod@183d66a55bc5f4e59cd467fbe679c0aaf7dda3c5/modules/semantic/semantic_interface_Test.py
-
curl -L -o semantic_interface_Test.py https://huggingface.co/spaces/AIdeaText/v5Prod/resolve/183d66a55bc5f4e59cd467fbe679c0aaf7dda3c5/modules/semantic/semantic_interface_Test.py
499 Bytes
| import streamlit as st | |
| from streamlit_float import * | |
| # Limpiar el caché al inicio | |
| st.cache_data.clear() | |
| st.cache_resource.clear() | |
| # initialize float feature/capability | |
| float_init() | |
| col1, col2 = st.columns(2) | |
| # Fix/float the whole column | |
| col1.write("This entire column is fixed/floating") | |
| col1.float() | |
| with col2: | |
| container = st.container() | |
| # Fix/float a single container inside | |
| container.write("This text is in a container that is fixed") | |
| container.float() |