Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download resources/app/plugins/deepmoji_plugin/DeepMoji/examples/example_helper.py from Pendrokar/xVASynth-TTS: direct link, hf CLI and curl.
- Browser
- Download file 204 Bytes
-
https://huggingface.co/spaces/Pendrokar/xVASynth-TTS/resolve/main/resources/app/plugins/deepmoji_plugin/DeepMoji/examples/example_helper.py
- Command line
-
hf download hf://spaces/Pendrokar/xVASynth-TTS/resources/app/plugins/deepmoji_plugin/DeepMoji/examples/example_helper.py
-
curl -L -o example_helper.py https://huggingface.co/spaces/Pendrokar/xVASynth-TTS/resolve/main/resources/app/plugins/deepmoji_plugin/DeepMoji/examples/example_helper.py
204 Bytes
| """ Module import helper. | |
| Modifies PATH in order to allow us to import the torchmoji directory. | |
| """ | |
| import sys | |
| from os.path import abspath, dirname | |
| sys.path.insert(0, dirname(dirname(abspath(__file__)))) | |