Spaces:
Running
Running
jaifar530
commited on
append
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ with open('RandomForestClassifier.pkl', 'rb') as file:
|
|
51 |
|
52 |
input_paragraph = st.text_area("Input your text here")
|
53 |
df = pd.DataFrame(columns=["paragraph"])
|
54 |
-
df = df.
|
55 |
|
56 |
num_words = 500
|
57 |
input_paragraph = ' '.join(word_tokenize(input_paragraph)[:num_words])
|
|
|
51 |
|
52 |
input_paragraph = st.text_area("Input your text here")
|
53 |
df = pd.DataFrame(columns=["paragraph"])
|
54 |
+
df = df.append({"paragraph": input_paragraph}, ignore_index=True)
|
55 |
|
56 |
num_words = 500
|
57 |
input_paragraph = ' '.join(word_tokenize(input_paragraph)[:num_words])
|