Sambhavnoobcoder commited on
Commit
b00450b
·
1 Parent(s): 6568e62

file argument missing

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def main():
23
  file_input = gr.inputs.File(label="Upload PDF")
24
 
25
  model_name = "balacoon/tts" # Set the desired model name here
26
- model_path = hf_hub_download(repo_id=model_name)
27
  global tts
28
  tts = TTS(model_path)
29
 
 
23
  file_input = gr.inputs.File(label="Upload PDF")
24
 
25
  model_name = "balacoon/tts" # Set the desired model name here
26
+ model_path = hf_hub_download(repo_id=model_name, filename="model.pt")
27
  global tts
28
  tts = TTS(model_path)
29