echarlaix HF staff commited on
Commit
a3e2f44
1 Parent(s): 9c20644

add openvino tag if not already

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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.append("openvino")
 
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