Spaces:
Sleeping
Sleeping
Update app.py
Browse files50 unmodified lines5152535455565782 unmodified lines14014114214314414514650 unmodified linessegments = np.array(segments)return [tokens, masks, segments]def movie_evaluation_predict(sentence):data_x = sentence_convert_data(sentence)predict = sentiment_model.predict(data_x)predict_value = np.ravel(predict)82 unmodified linesst.subheader("댓글")for comment in comments:if movie_evaluation_predict(comment) == 1:st.write(comment)return 050 unmodified lines5152535455565782 unmodified lines14014114214314414514650 unmodified linessegments = np.array(segments)return [tokens, masks, segments]def evaluation_predict(sentence):data_x = sentence_convert_data(sentence)predict = sentiment_model.predict(data_x)predict_value = np.ravel(predict)82 unmodified linesst.subheader("댓글")for comment in comments:if evaluation_predict(comment) == 1:st.write(comment)return 0
app.py+2-2