mariotawfik commited on
Commit
091902f
1 Parent(s): e9bd8c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -139,7 +139,7 @@ def encrypt_encoded_quantize(encodings, user_id, eval_key):
139
  # Compute size
140
  encrypted_quantized_encoding_shorten = list(encrypted_quantized_encoding)[:ENCRYPTED_DATA_BROWSER_LIMIT]
141
  encrypted_quantized_encoding_shorten_hex = "".join(f"{i:02x}" for i in encrypted_quantized_encoding_shorten)
142
- return (encodings,quantized_encodings,encrypted_quantized_encoding_shorten_hex)
143
 
144
  def run_fhe(user_id):
145
  encoded_data_path = Path(f"tmp/tmp_encrypted_quantized_encoding_{user_id}.npy")
 
139
  # Compute size
140
  encrypted_quantized_encoding_shorten = list(encrypted_quantized_encoding)[:ENCRYPTED_DATA_BROWSER_LIMIT]
141
  encrypted_quantized_encoding_shorten_hex = "".join(f"{i:02x}" for i in encrypted_quantized_encoding_shorten)
142
+ return (encrypted_quantized_encoding_shorten_hex)
143
 
144
  def run_fhe(user_id):
145
  encoded_data_path = Path(f"tmp/tmp_encrypted_quantized_encoding_{user_id}.npy")