YAML Metadata Error: "widget" must be an array

How to use


import joblib
from sklearn.datasets import load_iris
from sklearn.model_selection import train_test_split

REPO_ID = "d2i-pti-iu/test_svc_model"
FILENAME = "iris_svm.joblib"
model = joblib.load("/d2i-pti-iu/test_svc_model/iris_svm.joblib")
iris = load_iris()

X = iris.data[:3]
labels = model.predict(X)
Downloads last month
14
Inference Providers NEW
This model is not currently available via any of the supported third-party Inference Providers, and the HF Inference API does not support transformers models with pipeline type tabular-classification

Dataset used to train d2i-pti-iu/test_svc_model

Spaces using d2i-pti-iu/test_svc_model 10