Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -205,7 +205,7 @@ if st.button('확인'):
|
|
205 |
str_ans_topk = [loc_tbl['항목명'][loc_tbl['코드'] == k] for k in num_ans_topk]
|
206 |
percent_ans_topk = topk_values.numpy()
|
207 |
|
208 |
-
st.write(sum(torch.topk(pred_.flatten(), 493).values.numpy()))
|
209 |
# print(num_ans, str_ans)
|
210 |
# print(num_ans_topk)
|
211 |
|
@@ -249,4 +249,4 @@ if st.button('확인'):
|
|
249 |
|
250 |
# st.dataframe(ans_topk_df)
|
251 |
# st.dataframe(ans_topk_df.style.bar(subset='확률', align='left', color='blue'))
|
252 |
-
st.write(ans_topk_df.style.bar(subset='
|
|
|
205 |
str_ans_topk = [loc_tbl['항목명'][loc_tbl['코드'] == k] for k in num_ans_topk]
|
206 |
percent_ans_topk = topk_values.numpy()
|
207 |
|
208 |
+
# st.write(sum(torch.topk(pred_.flatten(), 493).values.numpy()))
|
209 |
# print(num_ans, str_ans)
|
210 |
# print(num_ans_topk)
|
211 |
|
|
|
249 |
|
250 |
# st.dataframe(ans_topk_df)
|
251 |
# st.dataframe(ans_topk_df.style.bar(subset='확률', align='left', color='blue'))
|
252 |
+
# st.write(ans_topk_df.style.bar(subset='참고', align='left', color='blue'))
|