mfrashad commited on
Commit
967ed44
β€’
1 Parent(s): c0b9c35
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ def display_sample_pytorch(seed, truncation, directions, distances, scale, start
94
  def generate_image(seed, truncation,
95
  monster, female, skimpy, light, bodysuit, bulky, human_head,
96
  start_layer, end_layer):
97
- seed = hash(seed)
98
  scale = 1
99
  params = {'monster': monster,
100
  'female': female,
 
94
  def generate_image(seed, truncation,
95
  monster, female, skimpy, light, bodysuit, bulky, human_head,
96
  start_layer, end_layer):
97
+ seed = hash(seed) % 1000000000
98
  scale = 1
99
  params = {'monster': monster,
100
  'female': female,