Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
| 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()
|