Commit 2d7e2f2
committed
drop PyTorch CPU index URL and loosen torch pins for Python 3.14
Streamlit Cloud runs Python 3.14 regardless of runtime.txt, and the
PyTorch CPU index (download.pytorch.org/whl/cpu) returns 403 on their
servers. PyPI only carries torch>=2.9 for Python 3.14, so pinning
torch==2.6.0+cpu was guaranteed to fail.
Remove the --extra-index-url entirely and let pip resolve torch and
torchvision freely from PyPI. Loosen streamlit to >=1.35 so the same
constraint applies on whatever Python Streamlit Cloud happens to deploy.1 parent 1d0f98c commit 2d7e2f2
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
0 commit comments