Spaces:
Runtime error

dnasafe commited on
Commit
2ed8131
·
verified ·
1 Parent(s): 4a9a527

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -96,11 +96,10 @@ iface = gr.Interface(
96
  ],
97
  title="Paillier Encryption Demonstration",
98
  description="This app demonstrates Paillier encryption. Enter data (e.g., smoker, non-smoker) in the textbox, and the app will perform encryption and homomorphic addition.",
99
- # Add show_image to the layout
100
- layout=Column([show_image(), iface])
101
 
102
- )
103
 
104
- # Launch the Gradio app
105
- iface.launch()
106
 
 
 
 
 
96
  ],
97
  title="Paillier Encryption Demonstration",
98
  description="This app demonstrates Paillier encryption. Enter data (e.g., smoker, non-smoker) in the textbox, and the app will perform encryption and homomorphic addition.",
 
 
99
 
 
100
 
101
+ )
 
102
 
103
+ # Display the image and then launch the Gradio app
104
+ gr.Interface(fn=show_image, title="Image Display").launch(share=True)
105
+ iface.launch()