Download install.py from ServerX/Gradient: direct link, hf CLI and curl.
- Browser
- Download file 411 Bytes
-
https://huggingface.co/spaces/ServerX/Gradient/resolve/main/install.py
- Command line
-
hf download hf://spaces/ServerX/Gradient/install.py
-
curl -L -o install.py https://huggingface.co/spaces/ServerX/Gradient/resolve/main/install.py
411 Bytes
| import subprocess | |
| # Esecuzione dei comandi | |
| subprocess.run(['pip', 'install', 'pydantic==2.0.2']) | |
| subprocess.run(['pip', 'install', 'protobuf==3.20']) | |
| subprocess.run(['pip', 'install', 'gradio==3.34.0']) | |
| subprocess.run(['pip', 'uninstall', 'ffmpeg']) | |
| subprocess.run(['pip', 'uninstall', 'ffmpeg-python']) | |
| subprocess.run(['pip', 'install', 'ffmpeg-python']) | |
| subprocess.run(['pip', 'install', 'onnxruntime']) |