Spaces:
Runtime error
Runtime error
Download app.py from LuminanceImagine/RVC_Inference_HF: direct link, hf CLI and curl.
- Browser
- Download file 481 Bytes
-
https://huggingface.co/spaces/LuminanceImagine/RVC_Inference_HF/resolve/main/app.py
- Command line
-
hf download hf://spaces/LuminanceImagine/RVC_Inference_HF/app.py
-
curl -L -o app.py https://huggingface.co/spaces/LuminanceImagine/RVC_Inference_HF/resolve/main/app.py
481 Bytes
| import os | |
| os.system("python pip install pedalboard") | |
| shell_script = './install_Applio.sh' | |
| os.system(f'chmod +x {shell_script}') | |
| try: | |
| return_code = os.system(shell_script) | |
| if return_code == 0: | |
| print("Shell script executed successfully.") | |
| else: | |
| print(f"Shell script failed with return code {return_code}") | |
| except Exception as e: | |
| print(f"An error occurred: {e}") | |
| os.system("python -m sklearnex infer-web.py --pycmd python --port 7897 --theme dark") |