Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -52,4 +52,20 @@ st.write('μ λ', age, 'μ΄μ
λλ€')
|
|
52 |
option = st.selectbox(
|
53 |
'κ°μ₯ μ’μνλ μκΉμ 무μμΈκ°μ?',
|
54 |
('νλ', 'μ΄λ‘', 'λΉ¨κ°'))
|
55 |
-
st.write('κ·νκ° κ°μ₯ μ’μνλ μκΉμ', option)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
option = st.selectbox(
|
53 |
'κ°μ₯ μ’μνλ μκΉμ 무μμΈκ°μ?',
|
54 |
('νλ', 'μ΄λ‘', 'λΉ¨κ°'))
|
55 |
+
st.write('κ·νκ° κ°μ₯ μ’μνλ μκΉμ', option)
|
56 |
+
|
57 |
+
st.markdown("### ν
μ€νΈμμ 'λ΄μ§μ€ λ©€λ²' μ°ΎκΈ°")
|
58 |
+
|
59 |
+
# μ¬μ©μλ‘λΆν° ν
μ€νΈ μ
λ ₯ λ°κΈ°
|
60 |
+
input_text = st.text_area("κΈμ μ
λ ₯νμΈμ")
|
61 |
+
|
62 |
+
newjeans_members = ["λ―Όμ§", "νλ", "λ€λμ", "ν΄λ¦°", "νμΈ"]
|
63 |
+
|
64 |
+
# λ²νΌμ ν΄λ¦νλ©΄ ν¨μ μ€ν
|
65 |
+
if st.button('μ€ν'):
|
66 |
+
result = [m for m in newjeans_members if m in input_text]
|
67 |
+
result_str = ', '.join(result)
|
68 |
+
if result:
|
69 |
+
st.write(f"κΈμμ μ°Ύμ 'λ΄μ§μ€' λ©€λ²: {result_str}")
|
70 |
+
else:
|
71 |
+
st.write("'λ΄μ§μ€' λ©€λ²λ₯Ό μ°Ύμ μ μμ΅λλ€.")
|