FDSRashid commited on
Commit
9412d3c
·
verified ·
1 Parent(s): fbd7946

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ taraf_max = np.max(df['taraf_ID'].unique())
15
 
16
  def plot_similarity_score(taraf_num):
17
  taraf_df = df[df['taraf_ID']== taraf_num]
18
- taraf_df['Number'] = np.arange(len(df))
19
  embed_taraf = taraf_df['embed'].to_list()
20
  cos_score = cosine_similarity(embed_taraf)
21
  fig = px.imshow(cos_score)
 
15
 
16
  def plot_similarity_score(taraf_num):
17
  taraf_df = df[df['taraf_ID']== taraf_num]
18
+ taraf_df['Number'] = np.arange(len(taraf_df))
19
  embed_taraf = taraf_df['embed'].to_list()
20
  cos_score = cosine_similarity(embed_taraf)
21
  fig = px.imshow(cos_score)