Alexander Becker commited on
Commit
15b96a5
·
1 Parent(s): 22a2526

Make fit for ZeroGPU

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +0 -6
app.py CHANGED
@@ -197,7 +197,7 @@ with TheraApp(
197
  examples_per_page=12,
198
  squeeze_canvas=True,
199
  advanced_settings_can_be_half_width=False,
200
- #spaces_zero_gpu_enabled=True,
201
  ) as demo:
202
  demo.queue(
203
  api_open=False,
 
197
  examples_per_page=12,
198
  squeeze_canvas=True,
199
  advanced_settings_can_be_half_width=False,
200
+ spaces_zero_gpu_enabled=True,
201
  ) as demo:
202
  demo.queue(
203
  api_open=False,
requirements.txt CHANGED
@@ -1,6 +1,4 @@
1
  -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
2
- # torch-cpu is sufficient since we only use it for data loading
3
- --extra-index-url https://download.pytorch.org/whl/cpu
4
 
5
  chex==0.1.7
6
  ConfigArgParse==1.7
@@ -25,10 +23,6 @@ optax==0.2.0
25
  orbax-checkpoint==0.2.4
26
  scipy==1.10.1
27
  timm==0.9.6
28
- torch==2.0.1+cpu
29
- torchaudio==2.0.2+cpu
30
- torchmetrics==1.2.0
31
- torchvision==0.15.2+cpu
32
  tqdm==4.65.0
33
  transformers==4.46.3
34
  Pillow==10.0.0
 
1
  -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
 
 
2
 
3
  chex==0.1.7
4
  ConfigArgParse==1.7
 
23
  orbax-checkpoint==0.2.4
24
  scipy==1.10.1
25
  timm==0.9.6
 
 
 
 
26
  tqdm==4.65.0
27
  transformers==4.46.3
28
  Pillow==10.0.0