Spaces:
Runtime error
Runtime error
Commit
·
43b2a8a
1
Parent(s):
8fde97d
Update app.py
Browse files
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):
|