Hamda commited on
Commit
46975c6
1 Parent(s): eccd375

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -89,7 +89,6 @@ if (st.checkbox('الاستعانة بالرسم البياني المعرفي
89
  key = df3.loc[nc].values[0]
90
  tmt[key] = score
91
  return tmt
92
-
93
  tmt = compute_score(L, id_list)
94
  exp_terms = []
95
  t_li = tmt.values()
@@ -105,12 +104,8 @@ if (st.checkbox('الاستعانة بالرسم البياني المعرفي
105
  i+=1
106
  if (i==10):
107
  break
108
- for e in sent:
109
- if (e in tmt):
110
- del tmt[e]
111
  res_df = pd.DataFrame.from_dict(dict_res)
112
  res_df.index += 1
113
-
114
  b = time()
115
  exec_time = (b-a)
116
  text_st = sent+ ' <mask>'
 
89
  key = df3.loc[nc].values[0]
90
  tmt[key] = score
91
  return tmt
 
92
  tmt = compute_score(L, id_list)
93
  exp_terms = []
94
  t_li = tmt.values()
 
104
  i+=1
105
  if (i==10):
106
  break
 
 
 
107
  res_df = pd.DataFrame.from_dict(dict_res)
108
  res_df.index += 1
 
109
  b = time()
110
  exec_time = (b-a)
111
  text_st = sent+ ' <mask>'