Spaces:
No application file
No application file
Download webui/modules/implementations/tts_monkeypatching.py from mrtroydev/audio-webui: direct link, hf CLI and curl.
- Browser
- Download file 198 Bytes
-
https://huggingface.co/spaces/mrtroydev/audio-webui/resolve/refs%2Fpr%2F2/webui/modules/implementations/tts_monkeypatching.py
- Command line
-
hf download hf://spaces/mrtroydev/audio-webui@refs/pr/2/webui/modules/implementations/tts_monkeypatching.py
-
curl -L -o tts_monkeypatching.py https://huggingface.co/spaces/mrtroydev/audio-webui/resolve/refs%2Fpr%2F2/webui/modules/implementations/tts_monkeypatching.py
198 Bytes
| def patch(): | |
| print('Monkeypatching bark') | |
| import bark | |
| import webui.modules.implementations.patches.bark_api as new_bark_api | |
| bark.api.generate_audio = new_bark_api.generate_audio_new | |