Upload folder using huggingface_hub
Browse files
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
|