Spaces:
Runtime error
Runtime error
Commit
·
f4f30ca
1
Parent(s):
fdd0c18
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ article = """
|
|
20 |
|
21 |
def create_digit_samples(model, num_images):
|
22 |
random_latent_vectors = tf.random.normal(shape=(int(num_images), 128))
|
23 |
-
predictions = model
|
24 |
num = ceil(sqrt(num_images))
|
25 |
images = np.zeros((28*num, 28*num), dtype=float)
|
26 |
n = 0
|
|
|
20 |
|
21 |
def create_digit_samples(model, num_images):
|
22 |
random_latent_vectors = tf.random.normal(shape=(int(num_images), 128))
|
23 |
+
predictions = model(random_latent_vectors)
|
24 |
num = ceil(sqrt(num_images))
|
25 |
images = np.zeros((28*num, 28*num), dtype=float)
|
26 |
n = 0
|