Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,8 +13,6 @@ desc = """
|
|
| 13 |
|
| 14 |
This space converts your pickle files to skops format. You can read more on the
|
| 15 |
skops format [here]( https://skops.readthedocs.io/en/stable/persistence.html).
|
| 16 |
-
This space assumes you have used the latest `joblib` and `scikit-learn`
|
| 17 |
-
versions installed on your environment to create the pickle file.
|
| 18 |
|
| 19 |
You can use `skops.io.dump(joblib.load(in_file), out_file)` to do the
|
| 20 |
conversion yourself, where `in_file` is your source pickle file and `out_file`
|
|
@@ -27,6 +25,18 @@ file, where `skops_file` is the converted skops format file, and the
|
|
| 27 |
locally reproduce this list using
|
| 28 |
`skops.io.get_untrusted_types(file=skops_file)`. You should only load a `skops`
|
| 29 |
file that you trust all the types included in the `unknown_types` list.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
"""
|
| 31 |
|
| 32 |
|
|
|
|
| 13 |
|
| 14 |
This space converts your pickle files to skops format. You can read more on the
|
| 15 |
skops format [here]( https://skops.readthedocs.io/en/stable/persistence.html).
|
|
|
|
|
|
|
| 16 |
|
| 17 |
You can use `skops.io.dump(joblib.load(in_file), out_file)` to do the
|
| 18 |
conversion yourself, where `in_file` is your source pickle file and `out_file`
|
|
|
|
| 25 |
locally reproduce this list using
|
| 26 |
`skops.io.get_untrusted_types(file=skops_file)`. You should only load a `skops`
|
| 27 |
file that you trust all the types included in the `unknown_types` list.
|
| 28 |
+
|
| 29 |
+
## Requirements
|
| 30 |
+
|
| 31 |
+
This space assumes you have used the latest `joblib` and `scikit-learn`
|
| 32 |
+
versions installed on your environment to create the pickle file.
|
| 33 |
+
|
| 34 |
+
## Reporting issues
|
| 35 |
+
|
| 36 |
+
If you encounter an issue, please open an issue on the project's repository
|
| 37 |
+
on the [issue tracker](
|
| 38 |
+
https://github.com/skops-dev/skops/issues/new?title=CONVERSION+error+from+hf.space&body=Paste+the+error+message+and+a+link+to+your+pickle+file+here+please)
|
| 39 |
+
|
| 40 |
"""
|
| 41 |
|
| 42 |
|