Spaces:
Running
Running
add openvino tag if not already
Browse files
app.py
CHANGED
@@ -168,7 +168,8 @@ def quantize_model(
|
|
168 |
|
169 |
if card.data.tags is None:
|
170 |
card.data.tags = []
|
171 |
-
card.data.tags
|
|
|
172 |
card.data.tags.append("nncf")
|
173 |
card.data.tags.append(dtype)
|
174 |
card.data.base_model = model_id
|
|
|
168 |
|
169 |
if card.data.tags is None:
|
170 |
card.data.tags = []
|
171 |
+
if "openvino" not in card.data.tags:
|
172 |
+
card.data.tags.append("openvino")
|
173 |
card.data.tags.append("nncf")
|
174 |
card.data.tags.append(dtype)
|
175 |
card.data.base_model = model_id
|