Update app.py
Browse files
app.py
CHANGED
@@ -265,7 +265,12 @@ with demo:
|
|
265 |
)
|
266 |
|
267 |
# Button to send the encodings to the server using post method
|
268 |
-
execute_fhe_button.click(predict, inputs=[], outputs=[fhe_execution_time, execute_fhe_button])
|
|
|
|
|
|
|
|
|
|
|
269 |
|
270 |
gr.Markdown("<hr />")
|
271 |
|
|
|
265 |
)
|
266 |
|
267 |
# Button to send the encodings to the server using post method
|
268 |
+
# execute_fhe_button.click(predict, inputs=[], outputs=[fhe_execution_time, execute_fhe_button])
|
269 |
+
execute_fhe_button.click(
|
270 |
+
fn=predict,
|
271 |
+
inputs=[],
|
272 |
+
outputs=[fhe_execution_time, execute_fhe_button],
|
273 |
+
)
|
274 |
|
275 |
gr.Markdown("<hr />")
|
276 |
|