Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ stopword = set(stopwords.words('english'))
|
|
14 |
stemmer = SnowballStemmer("english")
|
15 |
|
16 |
# Load the dataset
|
17 |
-
data = pd.read_csv("
|
18 |
|
19 |
# Labelling the data set with classifier classes according to which classifications has to perform
|
20 |
data["labels"] = data["class"].map({0: "Offensive Language", 1: "Abusive comments", 2: "No Abusive and Offensive"})
|
|
|
14 |
stemmer = SnowballStemmer("english")
|
15 |
|
16 |
# Load the dataset
|
17 |
+
data = pd.read_csv("commentdatset (1) (1).csv")
|
18 |
|
19 |
# Labelling the data set with classifier classes according to which classifications has to perform
|
20 |
data["labels"] = data["class"].map({0: "Offensive Language", 1: "Abusive comments", 2: "No Abusive and Offensive"})
|