Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ def main():
|
|
95 |
lstm_model = load_lstm_model(model_path)
|
96 |
# Predict hate speech
|
97 |
prediction = predict_hate_speech(input_text, lstm_model)
|
98 |
-
st.success("result : "
|
99 |
#if prediction > 0.5:
|
100 |
# st.error("Hate Speech Detected")
|
101 |
#else:
|
|
|
95 |
lstm_model = load_lstm_model(model_path)
|
96 |
# Predict hate speech
|
97 |
prediction = predict_hate_speech(input_text, lstm_model)
|
98 |
+
st.success("result : "+prediction)
|
99 |
#if prediction > 0.5:
|
100 |
# st.error("Hate Speech Detected")
|
101 |
#else:
|