Spaces:
Sleeping
Sleeping
Fix typo
Browse files
app.py
CHANGED
@@ -19,11 +19,11 @@ chart_data = pd.read_csv(r"data/top_cluster_dataset.csv",dtype={'Headline': str,
|
|
19 |
st.set_page_config(page_title="Sinhala Embedding Space", page_icon=":bar_chart:")
|
20 |
|
21 |
# Define tabs
|
22 |
-
tabs = ["
|
23 |
selected_tab = st.sidebar.radio("Select a Tab", tabs)
|
24 |
|
25 |
# Main content
|
26 |
-
if selected_tab == "
|
27 |
sample_sentences = chart_data['Headline'].sample(10, random_state=1).tolist()
|
28 |
st.title("Calculate Sentences Similarity")
|
29 |
# select model to use dropdown
|
|
|
19 |
st.set_page_config(page_title="Sinhala Embedding Space", page_icon=":bar_chart:")
|
20 |
|
21 |
# Define tabs
|
22 |
+
tabs = ["Clustering Results","Sentences Similarity"]
|
23 |
selected_tab = st.sidebar.radio("Select a Tab", tabs)
|
24 |
|
25 |
# Main content
|
26 |
+
if selected_tab == "Sentences Similarity":
|
27 |
sample_sentences = chart_data['Headline'].sample(10, random_state=1).tolist()
|
28 |
st.title("Calculate Sentences Similarity")
|
29 |
# select model to use dropdown
|