Qdonnars commited on
Commit
b6953c9
·
1 Parent(s): 3ef6ac2

Pin Space to Python 3.10 to match locked dependencies

Browse files

The HF builder defaulted to Python 3.13, but the dependencies are locked for
Python 3.10 (torch 2.5.1, torchvision 0.20.1, etc. have no cp313 wheels),
causing 'No matching distribution found for torchvision==0.20.1'.
Pin python_version so the build uses 3.10 where all wheels exist.

Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -5,6 +5,7 @@ colorFrom: green
5
  colorTo: indigo
6
  sdk: gradio
7
  sdk_version: 4.37.2
 
8
  app_file: app.py
9
  pinned: false
10
  hf_oauth: true
 
5
  colorTo: indigo
6
  sdk: gradio
7
  sdk_version: 4.37.2
8
+ python_version: "3.10"
9
  app_file: app.py
10
  pinned: false
11
  hf_oauth: true