iSpr commited on
Commit
ba8ef67
·
1 Parent(s): f845db5

Update app.py

Browse files

tensor to numpy

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -201,7 +201,7 @@ if st.button('확인'):
201
 
202
  num_ans_topk = label_tbl[topk_idx]
203
  str_ans_topk = [loc_tbl['항목명'][loc_tbl['코드'] == k] for k in num_ans_topk]
204
- percent_ans_topk = list(topk_values)
205
 
206
  # print(num_ans, str_ans)
207
  # print(num_ans_topk)
 
201
 
202
  num_ans_topk = label_tbl[topk_idx]
203
  str_ans_topk = [loc_tbl['항목명'][loc_tbl['코드'] == k] for k in num_ans_topk]
204
+ percent_ans_topk = list(topk_values.numpy())
205
 
206
  # print(num_ans, str_ans)
207
  # print(num_ans_topk)