Spaces:
Runtime error
Runtime error
css styles
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ from streamlit_vega_lite import altair_component
|
|
| 30 |
|
| 31 |
# utils
|
| 32 |
from random import sample
|
| 33 |
-
|
| 34 |
|
| 35 |
|
| 36 |
def down_samp(embedding):
|
|
@@ -97,7 +97,7 @@ def data_comparison(df):
|
|
| 97 |
selection
|
| 98 |
)
|
| 99 |
|
| 100 |
-
layered =
|
| 101 |
|
| 102 |
layered = layered.configure_axis(
|
| 103 |
grid=False
|
|
@@ -223,7 +223,9 @@ def topic_distribution(weights, smoothing=0.01):
|
|
| 223 |
|
| 224 |
if __name__ == "__main__":
|
| 225 |
### STREAMLIT APP CONGFIG ###
|
| 226 |
-
st.set_page_config(layout="wide", page_title="Error
|
|
|
|
|
|
|
| 227 |
|
| 228 |
lcol, rcol = st.columns([2, 2])
|
| 229 |
# ******* loading the mode and the data
|
|
|
|
| 30 |
|
| 31 |
# utils
|
| 32 |
from random import sample
|
| 33 |
+
from error_analysis import utils as ut
|
| 34 |
|
| 35 |
|
| 36 |
def down_samp(embedding):
|
|
|
|
| 97 |
selection
|
| 98 |
)
|
| 99 |
|
| 100 |
+
layered = legend | scatter
|
| 101 |
|
| 102 |
layered = layered.configure_axis(
|
| 103 |
grid=False
|
|
|
|
| 223 |
|
| 224 |
if __name__ == "__main__":
|
| 225 |
### STREAMLIT APP CONGFIG ###
|
| 226 |
+
st.set_page_config(layout="wide", page_title="Error Analysis")
|
| 227 |
+
|
| 228 |
+
ut.init_style()
|
| 229 |
|
| 230 |
lcol, rcol = st.columns([2, 2])
|
| 231 |
# ******* loading the mode and the data
|