NursNurs commited on
Commit
b549483
·
1 Parent(s): e0138d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ if input:
147
  input_embed = model.encode(input)
148
  sim_score = similarity_top(input_embed, icd_embeddings)
149
  i = 1
150
- nums = {1: 'one', 2: 'two', 3: 'three', 4:'four', 5:'five'}]
151
  for dis, value in sim_score:
152
  st.write(f":green[*Prediction number*] :{i}: :")
153
  st.write(f"{dis} (similarity score:", value, ")")
 
147
  input_embed = model.encode(input)
148
  sim_score = similarity_top(input_embed, icd_embeddings)
149
  i = 1
150
+ nums = {1: 'one', 2: 'two', 3: 'three', 4:'four', 5:'five'}
151
  for dis, value in sim_score:
152
  st.write(f":green[*Prediction number*] :{i}: :")
153
  st.write(f"{dis} (similarity score:", value, ")")