Spaces:
Running
on
T4
Running
on
T4
Tom Aarsen
commited on
Commit
·
63c9215
1
Parent(s):
4dbcda2
Revert commit message changes
Browse filesThis keeps it identical to the commit messages from export_...
app.py
CHANGED
@@ -86,7 +86,7 @@ def export_to_onnx(model_id: str, create_pr: bool, output_model_id: str, token:
|
|
86 |
|
87 |
model = SentenceTransformer(model_id, backend="onnx")
|
88 |
|
89 |
-
commit_message = "Add exported 'model.onnx'
|
90 |
|
91 |
if is_new_model(output_model_id):
|
92 |
model.push_to_hub(
|
@@ -331,7 +331,7 @@ def export_to_openvino(model_id: str, create_pr: bool, output_model_id: str, tok
|
|
331 |
|
332 |
model = SentenceTransformer(model_id, backend="openvino")
|
333 |
|
334 |
-
commit_message = "Add exported 'openvino_model.xml'
|
335 |
|
336 |
if is_new_model(output_model_id):
|
337 |
model.push_to_hub(
|
|
|
86 |
|
87 |
model = SentenceTransformer(model_id, backend="onnx")
|
88 |
|
89 |
+
commit_message = "Add exported onnx model 'model.onnx'"
|
90 |
|
91 |
if is_new_model(output_model_id):
|
92 |
model.push_to_hub(
|
|
|
331 |
|
332 |
model = SentenceTransformer(model_id, backend="openvino")
|
333 |
|
334 |
+
commit_message = "Add exported openvino model 'openvino_model.xml'"
|
335 |
|
336 |
if is_new_model(output_model_id):
|
337 |
model.push_to_hub(
|