Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -38,12 +38,8 @@ def plot_heatmap(labels, heatmap, rotation=90):
|
|
38 |
cmap="coolwarm")
|
39 |
g.set_xticklabels(labels, rotation=rotation)
|
40 |
g.set_title("Textual Similarity")
|
41 |
-
|
42 |
st.pyplot(fig)
|
43 |
-
|
44 |
-
|
45 |
-
#st.header("Sentence Similarity Demo")
|
46 |
-
|
47 |
# Streamlit text boxes
|
48 |
text = st.text_area('Enter sentences:', value="The sun is hotter than the moon.\nThe sun is very bright.\nI hear that the universe is very large.\nToday is Tuesday.")
|
49 |
|
|
|
38 |
cmap="coolwarm")
|
39 |
g.set_xticklabels(labels, rotation=rotation)
|
40 |
g.set_title("Textual Similarity")
|
|
|
41 |
st.pyplot(fig)
|
42 |
+
|
|
|
|
|
|
|
43 |
# Streamlit text boxes
|
44 |
text = st.text_area('Enter sentences:', value="The sun is hotter than the moon.\nThe sun is very bright.\nI hear that the universe is very large.\nToday is Tuesday.")
|
45 |
|