Spaces:
Runtime error
Runtime error
retitle, remove balloons
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
emoji: 💻
|
| 4 |
colorFrom: purple
|
| 5 |
colorTo: red
|
|
@@ -10,4 +10,4 @@ pinned: false
|
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Find Similar Code
|
| 3 |
emoji: 💻
|
| 4 |
colorFrom: purple
|
| 5 |
colorTo: red
|
|
|
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
+
|
app.py
CHANGED
|
@@ -63,13 +63,12 @@ class Solution:
|
|
| 63 |
return outputs
|
| 64 |
""", height = 330
|
| 65 |
)
|
| 66 |
-
button = st.button("Find Similar Questions
|
| 67 |
if button:
|
| 68 |
query = text_input
|
| 69 |
answer = get_similar_links(query, db, embedding_vector)
|
| 70 |
for link in set(answer):
|
| 71 |
st.write(link)
|
| 72 |
-
st.balloons()
|
| 73 |
|
| 74 |
else:
|
| 75 |
st.info("Please Input Valid Text")
|
|
|
|
| 63 |
return outputs
|
| 64 |
""", height = 330
|
| 65 |
)
|
| 66 |
+
button = st.button("Find Similar Questions")
|
| 67 |
if button:
|
| 68 |
query = text_input
|
| 69 |
answer = get_similar_links(query, db, embedding_vector)
|
| 70 |
for link in set(answer):
|
| 71 |
st.write(link)
|
|
|
|
| 72 |
|
| 73 |
else:
|
| 74 |
st.info("Please Input Valid Text")
|