romanbredehoft-zama commited on
Commit
14c30ad
•
1 Parent(s): 5a9d2a3

Update gradio

Browse files
Files changed (2) hide show
  1. app.py +10 -5
  2. requirements.txt +1 -1
app.py CHANGED
@@ -451,9 +451,11 @@ with demo:
451
 
452
  with gr.Row():
453
  encrypted_output_representation = gr.Image(
454
- label=f"Encrypted output representation ({INPUT_SHAPE[0]}x{INPUT_SHAPE[1]}):", interactive=False
 
 
 
455
  )
456
- encrypted_output_representation.style(height=256, width=256)
457
 
458
  gr.Markdown("## Client side")
459
  gr.Markdown(
@@ -474,13 +476,16 @@ with demo:
474
  input_image.value,
475
  label=f"Input image ({INPUT_SHAPE[0]}x{INPUT_SHAPE[1]}):",
476
  interactive=False,
 
 
477
  )
478
- original_image.style(height=256, width=256)
479
 
480
  output_image = gr.Image(
481
- label=f"Output image ({INPUT_SHAPE[0]}x{INPUT_SHAPE[1]}):", interactive=False
 
 
 
482
  )
483
- output_image.style(height=256, width=256)
484
 
485
  # Button to generate the private key
486
  keygen_button.click(
 
451
 
452
  with gr.Row():
453
  encrypted_output_representation = gr.Image(
454
+ label=f"Encrypted output representation ({INPUT_SHAPE[0]}x{INPUT_SHAPE[1]}):",
455
+ interactive=False,
456
+ height=256,
457
+ width=256,
458
  )
 
459
 
460
  gr.Markdown("## Client side")
461
  gr.Markdown(
 
476
  input_image.value,
477
  label=f"Input image ({INPUT_SHAPE[0]}x{INPUT_SHAPE[1]}):",
478
  interactive=False,
479
+ height=256,
480
+ width=256,
481
  )
 
482
 
483
  output_image = gr.Image(
484
+ label=f"Output image ({INPUT_SHAPE[0]}x{INPUT_SHAPE[1]}):",
485
+ interactive=False,
486
+ height=256,
487
+ width=256,
488
  )
 
489
 
490
  # Button to generate the private key
491
  keygen_button.click(
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
  concrete-ml==1.1.0
2
- gradio==3.11.0
 
1
  concrete-ml==1.1.0
2
+ gradio==3.40.1