FDSRashid commited on
Commit
12ead2a
1 Parent(s): 1ead6bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ df = dataset["train"].to_pandas()
14
  taraf_max = np.max(df['taraf_ID'].unique())
15
 
16
  def plot_similarity_score(taraf_num):
17
- embed_taraf = df[df['taraf_ID']== taraf_num]['embed']to_list()
18
  cos_score = cosine_similarity(embed_taraf)
19
  fig = px.imshow(cos_score)
20
  fig.write_html("test1.html")
 
14
  taraf_max = np.max(df['taraf_ID'].unique())
15
 
16
  def plot_similarity_score(taraf_num):
17
+ embed_taraf = df[df['taraf_ID']== taraf_num]['embed'].to_list()
18
  cos_score = cosine_similarity(embed_taraf)
19
  fig = px.imshow(cos_score)
20
  fig.write_html("test1.html")