Spaces:
Runtime error
Runtime error
Update app.py
Browse files348 unmodified lines349350351352353354355356357358359360361362348 unmodified lines"The encrypted scan result is sent back to the client, who can finally decrypt it with their private key. Only the client is aware of the original file content and the scan result.")b_decrypt_result = gr.Button("🔍 Decrypt scan result")user_id_input = gr.Textbox(value=user_id)scan_result = gr.Textbox(label="Scan Result:")eval_key_input = gr.Textbox(value=eval_key)# Button for key generationb_gen_key.click(fn=keygen, inputs=[eval_key_input, user_id_input], outputs=[evaluation_key])encodings_input = gr.Textbox(value=encodings)# Button to extract vectorb_extract.click(fn=encode_quantize,348 unmodified lines349350351352353354355356357358359360361362348 unmodified lines"The encrypted scan result is sent back to the client, who can finally decrypt it with their private key. Only the client is aware of the original file content and the scan result.")b_decrypt_result = gr.Button("🔍 Decrypt scan result")user_id_input = gr.Textbox(value=user_id, visible=False)scan_result = gr.Textbox(label="Scan Result:")eval_key_input = gr.Textbox(value=eval_key, visible=False)# Button for key generationb_gen_key.click(fn=keygen, inputs=[eval_key_input, user_id_input], outputs=[evaluation_key])encodings_input = gr.Textbox(value=encodings, visible=False)# Button to extract vectorb_extract.click(fn=encode_quantize,
app.py+3-3