IMvision12 commited on
Commit
2f6cd1f
·
1 Parent(s): 7ce173f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -15,15 +15,10 @@ article = """
15
  <br>
16
  Space by Gitesh Chawda
17
  </p>
18
- """
19
-
20
- def generate_latent_points(latent_dim, n_samples):
21
- random_latent_vectors = tf.random.normal(shape=(n_samples, latent_dim))
22
- return random_latent_vectors
23
 
24
  def create_digit_samples(n_samples):
25
- latent_dim = 128
26
- random_latent_vectors = tf.random.normal(shape=(n_samples, latent_dim))
27
  examples = model(random_latent_vectors)
28
  size = ceil(sqrt(n_samples))
29
  digit_images = np.zeros((28*size, 28*size), dtype=float)
 
15
  <br>
16
  Space by Gitesh Chawda
17
  </p>
18
+ """
 
 
 
 
19
 
20
  def create_digit_samples(n_samples):
21
+ random_latent_vectors = tf.random.normal(shape=(n_samples, 128))
 
22
  examples = model(random_latent_vectors)
23
  size = ceil(sqrt(n_samples))
24
  digit_images = np.zeros((28*size, 28*size), dtype=float)