Hem345 commited on
Commit
9204bb7
·
verified ·
1 Parent(s): ff2bb84

Update app.py

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