80cols commited on
Commit
ddc3b81
·
verified ·
1 Parent(s): a9602df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
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