Spaces:
Sleeping
Sleeping
marta-marta
commited on
Commit
·
78f9e27
1
Parent(s):
a8ed2a8
Updating
Browse files
app.py
CHANGED
@@ -426,7 +426,7 @@ if st.checkbox("Generate Linear Interpolation"):
|
|
426 |
figure_2[0:28, i * 28:(i + 1) * 28, ] = generated_image[:, :, -1]
|
427 |
linear_predicted_interps.append(generated_image[:, :, -1])
|
428 |
|
429 |
-
st.image(figure_2, width=600
|
430 |
|
431 |
# Code to display a gif
|
432 |
# interpolate_gif(decoder_model_boxes, latent_point_1, latent_point_2)
|
@@ -542,7 +542,7 @@ if st.checkbox("Generate Mesh Interpolation"):
|
|
542 |
figure_3[i * 28:(i + 1) * 28, j * 28:(j + 1) * 28, ] = generated_image[:, :, -1]
|
543 |
mesh_predicted_interps.append(generated_image[:, :, -1])
|
544 |
|
545 |
-
st.image(figure_3, width=600
|
546 |
|
547 |
# Code for generating the STL file
|
548 |
st.subheader("Create an STL file from the extruded image!")
|
|
|
426 |
figure_2[0:28, i * 28:(i + 1) * 28, ] = generated_image[:, :, -1]
|
427 |
linear_predicted_interps.append(generated_image[:, :, -1])
|
428 |
|
429 |
+
st.image(figure_2, width=600)
|
430 |
|
431 |
# Code to display a gif
|
432 |
# interpolate_gif(decoder_model_boxes, latent_point_1, latent_point_2)
|
|
|
542 |
figure_3[i * 28:(i + 1) * 28, j * 28:(j + 1) * 28, ] = generated_image[:, :, -1]
|
543 |
mesh_predicted_interps.append(generated_image[:, :, -1])
|
544 |
|
545 |
+
st.image(figure_3, width=600)
|
546 |
|
547 |
# Code for generating the STL file
|
548 |
st.subheader("Create an STL file from the extruded image!")
|