Vishnu Naresh Boddeti commited on
Commit
566d6b9
·
1 Parent(s): fef0200

printing a decscoreclear

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -366,7 +366,8 @@ with gr.Blocks(css=css) as demo:
366
  run_binary("./bin/search.bin", sec_level, "search")
367
 
368
  yield "✅ Search complete. Decrypting results...", "", gr.update(visible=True), {"embedding": embedding}, ciphertext, gr.update(visible=False)
369
- output, _ = run_binary("./bin/search.bin", sec_level, "decDecisionClear", threshold)
 
370
  print(f"Search binary output: >>>{output}<<<")
371
 
372
  lines = output.strip().split('\n')
 
366
  run_binary("./bin/search.bin", sec_level, "search")
367
 
368
  yield "✅ Search complete. Decrypting results...", "", gr.update(visible=True), {"embedding": embedding}, ciphertext, gr.update(visible=False)
369
+ # output, _ = run_binary("./bin/search.bin", sec_level, "decDecisionClear", threshold)
370
+ output, _ = run_binary("./bin/search.bin", sec_level, "decScoreClear", threshold)
371
  print(f"Search binary output: >>>{output}<<<")
372
 
373
  lines = output.strip().split('\n')