Skip to content

Commit

Permalink
Update sentencetransformermodel.py
Browse files Browse the repository at this point in the history
Signed-off-by: Thanawan Atchariyachanvanit <latchari@amazon.com>
  • Loading branch information
thanawan-atc committed Sep 18, 2023
1 parent a57d42a commit af94f87
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion opensearch_py_ml/ml_models/sentencetransformermodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,6 @@ def _add_apache_license_to_model_zip_file(self, model_zip_file_path: str):
r = requests.get(LICENSE_URL)
assert r.status_code == 200, "Failed to add license file to the model zip file"

print(r.content)
with ZipFile(str(model_zip_file_path), "a") as zipObj:
zipObj.writestr("LICENSE", r.content)

Expand Down

0 comments on commit af94f87

Please sign in to comment.