VaultChem commited on
Commit
72d9364
·
verified ·
1 Parent(s): 5a70e6c

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -170,8 +170,8 @@ def decrypt_prediction(user_id):
170
 
171
 
172
 
173
- def process_pipeline(test_file, user_id):
174
- eval_key = keygen(user_id)
175
  encodings = encode_quantize_encrypt(test_file, eval_key)
176
  encrypted_quantized_encoding = run_fhe(encodings)
177
  encrypted_prediction = decrypt_prediction(encrypted_quantized_encoding)
 
170
 
171
 
172
 
173
+ def process_pipeline(test_file):
174
+ eval_key = keygen()
175
  encodings = encode_quantize_encrypt(test_file, eval_key)
176
  encrypted_quantized_encoding = run_fhe(encodings)
177
  encrypted_prediction = decrypt_prediction(encrypted_quantized_encoding)