Download app.py from soiz/proxy: direct link, hf CLI and curl.
- Browser
- Download file 311 Bytes
-
https://huggingface.co/spaces/soiz/proxy/resolve/main/app.py
- Command line
-
hf download hf://spaces/soiz/proxy/app.py
-
curl -L -o app.py https://huggingface.co/spaces/soiz/proxy/resolve/main/app.py
311 Bytes
| import os | |
| # Node.jsのインストール | |
| os.system("apt-get update && apt-get install -y nodejs npm") | |
| # 次に必要なコマンドを実行 | |
| os.system(""" | |
| git clone https://github.com/izum00/primitive-cloud-server-huggingface.git && \ | |
| cd primitive-cloud-server-huggingface && \ | |
| npm install && \ | |
| npm start | |
| """) | |