aiplexdeveloper commited on
Commit
f969673
·
verified ·
1 Parent(s): 87848da

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -21,7 +21,7 @@ class EndpointHandler:
21
  cfg_weight = inputs.get("cfg_weight", 0.5)
22
  print(exaggeration, cfg_weight)
23
 
24
- AUDIO_PROMPT_PATH="arjun_das_output_audio.mp3"
25
  wav = self.model.generate(text, audio_prompt_path=AUDIO_PROMPT_PATH, exaggeration = exaggeration, cfg_weight=cfg_weight)
26
 
27
  # ta.save("test-2.wav", wav, self.model.sr)
 
21
  cfg_weight = inputs.get("cfg_weight", 0.5)
22
  print(exaggeration, cfg_weight)
23
 
24
+ AUDIO_PROMPT_PATH="https://huggingface.co/aiplexdeveloper/chatterbox/resolve/main/arjun_das_output_audio.mp3"
25
  wav = self.model.generate(text, audio_prompt_path=AUDIO_PROMPT_PATH, exaggeration = exaggeration, cfg_weight=cfg_weight)
26
 
27
  # ta.save("test-2.wav", wav, self.model.sr)