Spaces:
Build error
Build error
fix seed
Browse files
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,
|