Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -57,10 +57,9 @@ achievement_standard = st.text_input("์ฑ์ทจ๊ธฐ์ค ์
๋ ฅ:", value=selected_stan
|
|
57 |
|
58 |
# "ํ๊ฐ ์์ฑ" ๋ฒํผ ํด๋ฆญ ์์ ๋์
|
59 |
if st.button("ํ๊ฐ ์์ฑ"):
|
60 |
-
st.spinner('๋ต๋ณ ์์ฑ์ค...')
|
61 |
-
|
62 |
# ๊ฒฐ๊ณผ ์ถ๋ ฅ
|
63 |
-
# st.text(result.replace('```', '')) #๊ฒฐ๊ณผ์์ ``` ์ ๊ฑฐ
|
64 |
exec(result.replace('```', ''))
|
65 |
|
66 |
|
|
|
57 |
|
58 |
# "ํ๊ฐ ์์ฑ" ๋ฒํผ ํด๋ฆญ ์์ ๋์
|
59 |
if st.button("ํ๊ฐ ์์ฑ"):
|
60 |
+
with st.spinner('๋ต๋ณ ์์ฑ์ค...'):
|
61 |
+
result = generate_annotated_text(achievement_standard)
|
62 |
# ๊ฒฐ๊ณผ ์ถ๋ ฅ
|
|
|
63 |
exec(result.replace('```', ''))
|
64 |
|
65 |
|