Spaces:
Runtime error
Runtime error
jaifar530
commited on
fix
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ with open('RandomForestClassifier.pkl', 'rb') as file:
|
|
| 49 |
|
| 50 |
input_paragraph = st.text_area("Input your text here")
|
| 51 |
words_counts = word_tokenize(input_paragraph)
|
| 52 |
-
final_words =
|
| 53 |
st.write('Words counts: ', final_words)
|
| 54 |
|
| 55 |
|
|
|
|
| 49 |
|
| 50 |
input_paragraph = st.text_area("Input your text here")
|
| 51 |
words_counts = word_tokenize(input_paragraph)
|
| 52 |
+
final_words = len(words_counts)
|
| 53 |
st.write('Words counts: ', final_words)
|
| 54 |
|
| 55 |
|