Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from sklearn.feature_extraction.text import CountVectorizer
|
|
| 6 |
from sklearn.model_selection import train_test_split
|
| 7 |
import pandas as pd
|
| 8 |
# Separate target and feature column in X and y variable
|
| 9 |
-
df = pd.read_json('
|
| 10 |
# X will be the features
|
| 11 |
X = np.array(df["headline"])
|
| 12 |
|
|
|
|
| 6 |
from sklearn.model_selection import train_test_split
|
| 7 |
import pandas as pd
|
| 8 |
# Separate target and feature column in X and y variable
|
| 9 |
+
df = pd.read_json('Sarcasm.json',lines = True)
|
| 10 |
# X will be the features
|
| 11 |
X = np.array(df["headline"])
|
| 12 |
|