Spaces:
Runtime error
Runtime error
Update app.py
Browse files144 unmodified lines145146147148148149150151144 unmodified lines # Compute size encrypted_quantized_encoding_shorten = list(encrypted_quantized_encoding)[:ENCRYPTED_DATA_BROWSER_LIMIT] encrypted_quantized_encoding_shorten_hex = "".join(f"{i:02x}" for i in encrypted_quantized_encoding_shorten) return (encodings[0],quantized_encodings[0],encrypted_quantized_encoding_shorten_hex) return (encodings,quantized_encodings,encrypted_quantized_encoding_shorten_hex)
def run_fhe(user_id): encoded_data_path = Path(f"tmp/tmp_encrypted_quantized_encoding_{user_id}.npy")app.py+1-1