Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def find_similar_texts(model_name, input_text):
|
|
28 |
|
29 |
# Check whether model has been selected
|
30 |
if not model_name:
|
31 |
-
return "You
|
32 |
|
33 |
# Check whether there are abstracts matching the text input
|
34 |
input_embedding_mini = model_all_Mini.encode(input_text).reshape(1, -1)
|
|
|
28 |
|
29 |
# Check whether model has been selected
|
30 |
if not model_name:
|
31 |
+
return "You have forgotten to select a sentence-transformer."
|
32 |
|
33 |
# Check whether there are abstracts matching the text input
|
34 |
input_embedding_mini = model_all_Mini.encode(input_text).reshape(1, -1)
|