Skip to content

Commit

Permalink
fix: remove tsinghua pip mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
wy-luke committed Sep 5, 2023
1 parent 8f51166 commit 5f98696
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sd-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,11 @@ source venv/bin/activate
# Delete pip cache to avoid some errors
pip cache purge

if ! $net_connected; then
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install torch
fi
# Tsinghua mirror has no nightly package, which is needed by basicsr
# if ! $net_connected; then
# pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
# pip install torch
# fi

pip install --upgrade pip setuptools
pip install basicsr==1.4.2
Expand Down

0 comments on commit 5f98696

Please sign in to comment.