Spaces:
Sleeping
Sleeping
Update app.py
Browse files126 unmodified lines127128129130131132133134135136137138139140141142143144145146147148149150126 unmodified lines url = 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