Efimov6886 commited on
Commit
576bc6a
·
1 Parent(s): ab205a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -3,9 +3,16 @@ import pickle
3
  import pandas as pd
4
  import sys
5
  import subprocess
 
6
 
7
  subprocess.check_call([sys.executable, '-m', 'pip', 'install',
8
  'xgboost'])
 
 
 
 
 
 
9
 
10
  # Load the model from the file
11
  with open('xgb_model.pkl', 'rb') as file:
 
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'])
10
+ subprocess.check_call([sys.executable, '-m', 'pip', 'install',
11
+ 'sklearn'])
12
+ subprocess.check_call([sys.executable, '-m', 'pip', 'install',
13
+ 'pymystem3'])
14
+ subprocess.check_call([sys.executable, '-m', 'pip', 'install',
15
+ 'pandas'])
16
 
17
  # Load the model from the file
18
  with open('xgb_model.pkl', 'rb') as file: