st-server / start_server.sh
Qilan2's picture
Update start_server.sh
53d4bea verified
raw
history blame
720 Bytes
#!/bin/bash
# wget https://huggingface.co/datasets/Qilan2/st-server/raw/main/server10v.py -O /data/server10.py
# wget https://huggingface.co/datasets/Qilan2/st-server/raw/main/sbx/b.py -O /data/b.py
# # ls
# chmod +x /data/b.py /data/server10.py
# nohup python /data/server10.py > /data/server10.log 2>&1 &
# python /data/b.py
# # nohup python /data/b.py > /data/b.log 2>&1 &
# # tail -f /data/server10.log
source /opt/venv/bin/activate
nohup python /data/server.py > /data/server10.log 2>&1 &
python /data/b.py
# jupyter lab \
# --ip=0.0.0.0 \
# --port=7860 \
# --no-browser \
# --allow-root \
# --notebook-dir=/data \
# --NotebookApp.token='qilan' \
# --ServerApp.disable_check_xsrf=True