Dumeng commited on
Commit
a2247d4
1 Parent(s): aa5c2a0

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. iris.py +2 -1
iris.py CHANGED
@@ -1,12 +1,13 @@
1
  import subprocess
2
 
3
  # Install scikit-learn package
4
- subprocess.run(["pip", "install", "scikit-learn"])
5
 
6
  import gradio as gr
7
  import numpy as np
8
  import pickle
9
  import sklearn
 
10
 
11
  # load the XGBoost model...
12
  cintLoadType = 3
 
1
  import subprocess
2
 
3
  # Install scikit-learn package
4
+ subprocess.run(["pip", "install", "scikit-learn","xgboost"])
5
 
6
  import gradio as gr
7
  import numpy as np
8
  import pickle
9
  import sklearn
10
+ import xgboost
11
 
12
  # load the XGBoost model...
13
  cintLoadType = 3