NV9523 commited on
Commit
6f873e9
verified
1 Parent(s): 995e184

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -4,7 +4,11 @@ import numpy as np
4
  import joblib
5
  from sklearn.base import BaseEstimator, TransformerMixin
6
  from sklearn.preprocessing import StandardScaler, LabelEncoder
 
 
7
 
 
 
8
  # Custom LabelEncoder Transformer
9
  class LabelEncoderTransformer(BaseEstimator, TransformerMixin):
10
  def __init__(self):
 
4
  import joblib
5
  from sklearn.base import BaseEstimator, TransformerMixin
6
  from sklearn.preprocessing import StandardScaler, LabelEncoder
7
+ import subprocess
8
+ import sys
9
 
10
+ # C脿i 膽岷穞 th瓢 vi峄噉 n岷縰 ch瓢a c贸
11
+ subprocess.check_call([sys.executable, "-m", "pip", "install", "flask", "joblib"])
12
  # Custom LabelEncoder Transformer
13
  class LabelEncoderTransformer(BaseEstimator, TransformerMixin):
14
  def __init__(self):