yashriva commited on
Commit
84d5bea
1 Parent(s): 857ab00

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -4
README.md CHANGED
@@ -26,18 +26,16 @@ tags:
26
  ### How to use
27
 
28
  ```python
29
- from huggingface_hub import hf_hub_url, cached_download
30
  import joblib
31
- import pandas as pd
32
  from sklearn.datasets import load_iris
33
  from sklearn.model_selection import train_test_split
34
 
35
  REPO_ID = "d2i-pti-iu/test_svc_model"
36
  FILENAME = "iris_svm.joblib"
37
- model = joblib.load("iris_svm.joblib")
38
  iris = load_iris()
39
 
40
  X = iris.data[:3]
41
- # model is a `sklearn.pipeline.Pipeline`
42
  labels = model.predict(X)
43
  ```
 
26
  ### How to use
27
 
28
  ```python
29
+
30
  import joblib
 
31
  from sklearn.datasets import load_iris
32
  from sklearn.model_selection import train_test_split
33
 
34
  REPO_ID = "d2i-pti-iu/test_svc_model"
35
  FILENAME = "iris_svm.joblib"
36
+ model = joblib.load("/d2i-pti-iu/test_svc_model/iris_svm.joblib")
37
  iris = load_iris()
38
 
39
  X = iris.data[:3]
 
40
  labels = model.predict(X)
41
  ```