Update handler.py
Browse files- 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)
|