Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
scikit-learn
/
pickle-to-skops
like
2
Build error
App
Files
Files
Community
2
Fetching metadata from the HF Docker repository...
7553190
pickle-to-skops
/
app.py
adrin
Update app.py
f55c257
about 2 years ago
raw
Copy download link
history
blame
213 Bytes
import
gradio
as
gr
import
joblib
from
skops
import
io
as
sio
def
convert
(
file
):
obj = joblib.load(file)
return
sio.dumps(obj)
iface = gr.Interface(fn=greet, inputs=
"file"
, outputs=
"file"
)
iface.launch()