Spaces:
Runtime error
Runtime error
Update app.py
Browse files17 unmodified lines1819202122232417 unmodified linesmodel_path = 'commenttoxicity (1).h5'# Load the model with custom_objectsmodel = load_model(model_path, custom_objects={'LSTM': LSTM})def score_comment(comment):vectorized_comment = vecterizor([comment])17 unmodified lines1819202122232417 unmodified linesmodel_path = 'commenttoxicity (1).h5'# Load the model with custom_objectsmodel = load_model(model_path)def score_comment(comment):vectorized_comment = vecterizor([comment])
app.py+1-1