Spaces:
Runtime error
Runtime error
marigold334
commited on
Commit
•
45fbb93
1
Parent(s):
8fde97d
Update app.py (#2)
Browse files- Update app.py (43b2a8af523e42978d2c5d03a1b9a0ceb5b19e08)
app.py
CHANGED
@@ -7,7 +7,7 @@ from model import Generator as Glow_model
|
|
7 |
from Hmodel import Generator as GAN_model
|
8 |
|
9 |
device = torch.device('cuda:0') if torch.cuda.is_available() else 'cpu'
|
10 |
-
torch.cuda.manual_seed(1234) if torch.
|
11 |
|
12 |
class TTS:
|
13 |
def __init__(self, model_variant):
|
|
|
7 |
from Hmodel import Generator as GAN_model
|
8 |
|
9 |
device = torch.device('cuda:0') if torch.cuda.is_available() else 'cpu'
|
10 |
+
torch.cuda.manual_seed(1234) if torch.cuda.is_available() else None
|
11 |
|
12 |
class TTS:
|
13 |
def __init__(self, model_variant):
|