Spaces:
Runtime error
Runtime error
bankholdup
commited on
Commit
•
fab4ed0
1
Parent(s):
2b1dfa7
Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,6 @@ def gen_im(ffhq_codes, dog_codes, cat_codes, model_type='ffhq'):
|
|
128 |
return tensor2im(imgs[0])
|
129 |
|
130 |
def set_seed(rd):
|
131 |
-
np.random.seed(rd)
|
132 |
torch.manual_seed(rd)
|
133 |
|
134 |
def inference(img):
|
|
|
128 |
return tensor2im(imgs[0])
|
129 |
|
130 |
def set_seed(rd):
|
|
|
131 |
torch.manual_seed(rd)
|
132 |
|
133 |
def inference(img):
|