JeongHyunsung commited on
Commit
8d4d16e
ยท
verified ยท
1 Parent(s): 0daa9ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def predict_emotion(text, top_k=5):
77
  result = sorted(zip(KOTE_LABELS, probs), key=lambda x: x[1], reverse=True)
78
  return result[:top_k], probs
79
 
80
- tabs = st.tabs(["๊ฐ์ • ๋ถ„์„ ์ฒดํ—˜", "AI๋Š” ์–ด๋–ป๊ฒŒ ๊ฐ์ •์„ ์ดํ•ดํ• ๊นŒ?", "Few-shot Fine-tuning์ด๋ž€?", "ํ™œ์šฉ๊ณผ ์˜์˜"])
81
 
82
  with tabs[0]:
83
  st.markdown('<div class="big-title">๐ŸŽญ ํ•œ๊ตญ์–ด ๊ฐ์ • ๋ถ„์„ AI ์ฒดํ—˜</div>', unsafe_allow_html=True)
@@ -178,3 +178,9 @@ with tabs[3]:
178
  </div>
179
  """, unsafe_allow_html=True)
180
 
 
 
 
 
 
 
 
77
  result = sorted(zip(KOTE_LABELS, probs), key=lambda x: x[1], reverse=True)
78
  return result[:top_k], probs
79
 
80
+ tabs = st.tabs(["๊ฐ์ • ๋ถ„์„ ์ฒดํ—˜", "AI๋Š” ์–ด๋–ป๊ฒŒ ๊ฐ์ •์„ ์ดํ•ดํ• ๊นŒ?", "Few-shot Fine-tuning์ด๋ž€?", "ํ™œ์šฉ๊ณผ ์˜์˜", "๊ธฐํƒ€ ์ž๋ฃŒ๋ฃŒ"])
81
 
82
  with tabs[0]:
83
  st.markdown('<div class="big-title">๐ŸŽญ ํ•œ๊ตญ์–ด ๊ฐ์ • ๋ถ„์„ AI ์ฒดํ—˜</div>', unsafe_allow_html=True)
 
178
  </div>
179
  """, unsafe_allow_html=True)
180
 
181
+ with tabs[4]:
182
+ st.image("image/clustering-2.png", use_column_width=True)
183
+ st.image("image/clustering-10.png", use_column_width=True)
184
+ st.image("image/clustering-plutchiks.png", use_column_width=True)
185
+ st.image("image/clustering-plutchiks-bert.png", use_column_width=True)
186
+