Zeitstaub commited on
Commit
1b97a54
1 Parent(s): 4073415

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 forgot to choose 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)
 
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)