Commit
Β·
7e9229e
1
Parent(s):
eb589c0
debug for hf space
Browse files
indextts/utils/feature_extractors.py
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import torch
|
| 2 |
import torchaudio
|
| 3 |
from torch import nn
|
|
|
|
|
|
|
| 4 |
from utils import safe_log
|
| 5 |
|
| 6 |
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import sys
|
| 3 |
+
|
| 4 |
import torch
|
| 5 |
import torchaudio
|
| 6 |
from torch import nn
|
| 7 |
+
current_dir = os.path.dirname(os.path.abspath(__file__))
|
| 8 |
+
sys.path.append(current_dir)
|
| 9 |
from utils import safe_log
|
| 10 |
|
| 11 |
|