Spaces:
Sleeping
Sleeping
Update app.py
Browse files126 unmodified lines127128129130131132126 unmodified linesurl = st.text_input("url์ ์ ๋ ฅํ์ธ์",value=st.query_params['q'])else:url = st.text_input("url์ ์ ๋ ฅํ์ธ์")if st.button("์คํฌ๋ฉ ์์"):if url:title, content, comments = get_comments(url)126 unmodified lines127128129130131132133134135136137138139140141142143144145146147148149150126 unmodified linesurl = st.text_input("url์ ์ ๋ ฅํ์ธ์",value=st.query_params['q'])else:url = st.text_input("url์ ์ ๋ ฅํ์ธ์")if url:title, content, comments = get_comments(url)# ๊ฒฐ๊ณผ ํ์st.subheader("๊ธฐ์ฌ ์ ๋ชฉ")st.write(title)st.subheader("๋ณธ๋ฌธ ๋ด์ฉ")st.write(content)st.subheader("๋๊ธ")for comment in comments:if evaluation_predict(comment) == 1:st.write(comment)if st.button("์คํฌ๋ฉ ์์"):if url:title, content, comments = get_comments(url)
app.py+18