Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -3
src/streamlit_app.py
CHANGED
|
@@ -4,7 +4,7 @@ from sentence_transformers.quantization import quantize_embeddings
|
|
| 4 |
import numpy as np
|
| 5 |
|
| 6 |
st.set_page_config(page_title="MXBAI Embed Demo", layout="centered")
|
| 7 |
-
st.title("
|
| 8 |
|
| 9 |
st.markdown(
|
| 10 |
"""
|
|
@@ -18,8 +18,8 @@ Use the checkboxes on the left sidebar to toggle:
|
|
| 18 |
|
| 19 |
# Sidebar controls
|
| 20 |
st.sidebar.header("Options")
|
| 21 |
-
use_mrl = st.sidebar.checkbox("Enable MRL
|
| 22 |
-
use_binary = st.sidebar.checkbox("Enable Binary
|
| 23 |
|
| 24 |
# Cache the model loading so Streamlit doesn't reload on every interaction unnecessarily.
|
| 25 |
@st.cache_resource(show_spinner=False)
|
|
|
|
| 4 |
import numpy as np
|
| 5 |
|
| 6 |
st.set_page_config(page_title="MXBAI Embed Demo", layout="centered")
|
| 7 |
+
st.title("MRL + Binary Embedding Demo by DEJAN")
|
| 8 |
|
| 9 |
st.markdown(
|
| 10 |
"""
|
|
|
|
| 18 |
|
| 19 |
# Sidebar controls
|
| 20 |
st.sidebar.header("Options")
|
| 21 |
+
use_mrl = st.sidebar.checkbox("Enable MRL", value=False)
|
| 22 |
+
use_binary = st.sidebar.checkbox("Enable Binary", value=False)
|
| 23 |
|
| 24 |
# Cache the model loading so Streamlit doesn't reload on every interaction unnecessarily.
|
| 25 |
@st.cache_resource(show_spinner=False)
|