Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,3 +84,9 @@ if st.session_state.autoencoder:
|
|
| 84 |
# Button to display the reconstruction
|
| 85 |
if st.button("Display Reconstruction"):
|
| 86 |
display_reconstruction(test_index, st.session_state.autoencoder, st.session_state.encoder, st.session_state.x_test)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
# Button to display the reconstruction
|
| 85 |
if st.button("Display Reconstruction"):
|
| 86 |
display_reconstruction(test_index, st.session_state.autoencoder, st.session_state.encoder, st.session_state.x_test)
|
| 87 |
+
|
| 88 |
+
# Display architecture image
|
| 89 |
+
st.subheader("Autoencoder Architecture")
|
| 90 |
+
architecture_image_path = 'image1.png' # Path to the uploaded image
|
| 91 |
+
architecture_image = Image.open(architecture_image_path)
|
| 92 |
+
st.image(architecture_image, caption="Autoencoder Architecture")
|