xcczach commited on
Commit
b4077b7
·
verified ·
1 Parent(s): 18b3709

Upload model

Browse files
Files changed (1) hide show
  1. 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
- file_path = "output1.wav",
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
  )