Spaces:
Runtime error
Runtime error
Commit
·
5893957
1
Parent(s):
576bc6a
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,14 @@
|
|
1 |
import gradio as gr
|
2 |
import pickle
|
3 |
-
import pandas as pd
|
4 |
import sys
|
5 |
import subprocess
|
6 |
-
import pandas
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
subprocess.check_call([sys.executable, '-m', 'pip', 'install',
|
9 |
'xgboost'])
|
|
|
1 |
import gradio as gr
|
2 |
import pickle
|
|
|
3 |
import sys
|
4 |
import subprocess
|
5 |
+
import pandas as pd
|
6 |
+
from sklearn.utils import shuffle
|
7 |
+
from sklearn.feature_extraction.text import TfidfVectorizer
|
8 |
+
from xgboost import XGBClassifier
|
9 |
+
from sklearn.model_selection import train_test_split
|
10 |
+
import pymystem3
|
11 |
+
from tqdm import tqdm
|
12 |
|
13 |
subprocess.check_call([sys.executable, '-m', 'pip', 'install',
|
14 |
'xgboost'])
|