Spaces:
Running
Running
kevinwang676
commited on
Commit
•
32f0078
1
Parent(s):
88b5ee2
Update Phoneme_Hallucinator_v2/scripts/speech_expansion_ins.py
Browse files
Phoneme_Hallucinator_v2/scripts/speech_expansion_ins.py
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
import os
|
2 |
import sys
|
3 |
import time
|
4 |
-
p = os.path.split(os.path.dirname(os.path.abspath(__file__)))[0]
|
5 |
-
sys.path.append(p)
|
6 |
import argparse
|
7 |
import numpy as np
|
8 |
import tensorflow as tf
|
9 |
tf.compat.v1.disable_v2_behavior()
|
10 |
|
11 |
-
from utils.hparams import HParams
|
12 |
-
from models import get_model
|
13 |
import torch
|
14 |
|
15 |
|
|
|
1 |
import os
|
2 |
import sys
|
3 |
import time
|
4 |
+
# p = os.path.split(os.path.dirname(os.path.abspath(__file__)))[0]
|
5 |
+
# sys.path.append(p)
|
6 |
import argparse
|
7 |
import numpy as np
|
8 |
import tensorflow as tf
|
9 |
tf.compat.v1.disable_v2_behavior()
|
10 |
|
11 |
+
from ..utils.hparams import HParams
|
12 |
+
from ..models import get_model
|
13 |
import torch
|
14 |
|
15 |
|