Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -269,7 +269,7 @@ def interpolate(t1, t2, d1, d2, th1, th2, steps):
|
|
269 |
latent_point_2 = encoder_model_boxes.predict(number_2_expand)[0]
|
270 |
|
271 |
latent_dimensionality = len(latent_point_1) # define the dimensionality of the latent space
|
272 |
-
num_interp = num_internal
|
273 |
latent_matrix = [] # This will contain the latent points of the interpolation
|
274 |
for column in range(latent_dimensionality):
|
275 |
new_column = np.linspace(latent_point_1[column], latent_point_2[column], num_interp)
|
|
|
269 |
latent_point_2 = encoder_model_boxes.predict(number_2_expand)[0]
|
270 |
|
271 |
latent_dimensionality = len(latent_point_1) # define the dimensionality of the latent space
|
272 |
+
num_interp = num_internal # the number of images to be pictured
|
273 |
latent_matrix = [] # This will contain the latent points of the interpolation
|
274 |
for column in range(latent_dimensionality):
|
275 |
new_column = np.linspace(latent_point_1[column], latent_point_2[column], num_interp)
|