Upload model
Browse files- modeling_test.py +1 -1
modeling_test.py
CHANGED
@@ -22,7 +22,7 @@ class TestModel(PreTrainedModel):
|
|
22 |
def get_audio_duration(self):
|
23 |
audio_path = hf_hub_download(
|
24 |
repo_id = self.path,
|
25 |
-
|
26 |
repo_type = "model",
|
27 |
# local_dir = os.path.abspath(os.path.dirname(os.path.abspath(__file__)))
|
28 |
)
|
|
|
22 |
def get_audio_duration(self):
|
23 |
audio_path = hf_hub_download(
|
24 |
repo_id = self.path,
|
25 |
+
filename = "output1.wav",
|
26 |
repo_type = "model",
|
27 |
# local_dir = os.path.abspath(os.path.dirname(os.path.abspath(__file__)))
|
28 |
)
|