mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-22 10:56:36 +00:00
upload model to cdn and api
switch to yolov11
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import io
|
||||
from security import Security
|
||||
|
||||
key = Security.get_model_encryption_key()
|
||||
test_str = 'test test test 123'
|
||||
|
||||
test_encrypted = Security.encrypt_to(io.BytesIO(test_str.encode('utf-8')), key)
|
||||
test_res = Security.decrypt_to(io.BytesIO(test_encrypted), key)
|
||||
print(f'Initial: {test_str}')
|
||||
print(f'Result : {test_res}')
|
||||
Reference in New Issue
Block a user