Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -1,21 +1,9 @@
|
|
1 |
import pandas as pd
|
2 |
import pickle as pkl
|
3 |
-
|
4 |
-
from sklearn.model_selection import train_test_split
|
5 |
-
from sklearn.dummy import DummyClassifier
|
6 |
-
from sklearn.feature_extraction.text import CountVectorizer
|
7 |
-
from sklearn.linear_model import Perceptron
|
8 |
from numpy import reshape
|
9 |
import numpy as np
|
10 |
-
|
11 |
-
from sklearn.metrics import classification_report
|
12 |
-
from sklearn.naive_bayes import GaussianNB
|
13 |
-
from sklearn.neighbors import KNeighborsClassifier
|
14 |
-
from sklearn.linear_model import Perceptron
|
15 |
-
from sklearn.dummy import DummyClassifier
|
16 |
-
from sklearn.ensemble import RandomForestClassifier
|
17 |
-
from sklearn.neural_network import MLPClassifier
|
18 |
-
from sklearn import svm
|
19 |
import gradio as gr
|
20 |
|
21 |
class NLP:
|
|
|
1 |
import pandas as pd
|
2 |
import pickle as pkl
|
3 |
+
|
|
|
|
|
|
|
|
|
4 |
from numpy import reshape
|
5 |
import numpy as np
|
6 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
import gradio as gr
|
8 |
|
9 |
class NLP:
|