Spaces:
Running
Running
update descrption
Browse files
app.py
CHANGED
@@ -142,10 +142,13 @@ def export(model_id: str, private_repo: bool, oauth_token: gr.OAuthToken):
|
|
142 |
shutil.rmtree(folder, ignore_errors=True)
|
143 |
|
144 |
DESCRIPTION = """
|
145 |
-
This Space uses [Optimum Intel](https://huggingface.co/docs/optimum/main/en/intel/openvino/export) to automatically export a model from the
|
146 |
|
147 |
-
The resulting model will then be pushed under your HF user namespace.
|
148 |
-
|
|
|
|
|
|
|
149 |
"""
|
150 |
|
151 |
model_id = HuggingfaceHubSearch(
|
|
|
142 |
shutil.rmtree(folder, ignore_errors=True)
|
143 |
|
144 |
DESCRIPTION = """
|
145 |
+
This Space uses [Optimum Intel](https://huggingface.co/docs/optimum/main/en/intel/openvino/export) to automatically export a model from the Hub to the [OpenVINO format](https://docs.openvino.ai/2024/documentation/openvino-ir-format.html).
|
146 |
|
147 |
+
The resulting model will then be pushed under your HF user namespace.
|
148 |
+
|
149 |
+
For now conversion is only supported for models that are hosted on public repositories. Support for gated or private models will be enabled in a future version of this space.
|
150 |
+
|
151 |
+
Custom models that needs to be loaded with trust_remote_code=True are also not supported.
|
152 |
"""
|
153 |
|
154 |
model_id = HuggingfaceHubSearch(
|