Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -85,8 +85,8 @@ if st.session_state.autoencoder:
|
|
| 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 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
st.image(architecture_image, caption="Autoencoder Architecture")
|
|
|
|
| 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 |
+
architecture_image = cv2.imread("image1.png")
|
| 89 |
+
|
| 90 |
+
architecture_image = cv2.cvtColor(architecture_image, cv2.COLOR_BGR2RGB) # Convert to RGB for proper display
|
| 91 |
+
|
| 92 |
st.image(architecture_image, caption="Autoencoder Architecture")
|