Spaces:
Sleeping
Sleeping
change fstring line bc py < 3.12
Browse files
app.py
CHANGED
|
@@ -419,7 +419,7 @@ if __name__ == "__main__":
|
|
| 419 |
print("Categories are: ", st.session_state.categories)
|
| 420 |
st.markdown(
|
| 421 |
f"This app calculates the percentage similarity between `{st.session_state.text_search}` and "
|
| 422 |
-
+ f"`[{st.session_state.categories.replace(
|
| 423 |
+ " per different embeddings."
|
| 424 |
)
|
| 425 |
st.markdown("Similarity is a weighted proportion of exponentiated cosine similarity, "
|
|
@@ -439,5 +439,5 @@ if __name__ == "__main__":
|
|
| 439 |
|
| 440 |
st.write("")
|
| 441 |
st.write(
|
| 442 |
-
"
|
| 443 |
)
|
|
|
|
| 419 |
print("Categories are: ", st.session_state.categories)
|
| 420 |
st.markdown(
|
| 421 |
f"This app calculates the percentage similarity between `{st.session_state.text_search}` and "
|
| 422 |
+
+ f"`[{st.session_state.categories.replace(' ',', ')}]`"
|
| 423 |
+ " per different embeddings."
|
| 424 |
)
|
| 425 |
st.markdown("Similarity is a weighted proportion of exponentiated cosine similarity, "
|
|
|
|
| 439 |
|
| 440 |
st.write("")
|
| 441 |
st.write(
|
| 442 |
+
"Christopher Marley - UW EE P 596 HW 2"
|
| 443 |
)
|