Muhammad Taqi Raza commited on
Commit
5faca75
·
1 Parent(s): 69d00ae

adding spaces.gpu

Browse files
Files changed (1) hide show
  1. gradio_app.py +4 -0
gradio_app.py CHANGED
@@ -37,6 +37,10 @@ def download_models():
37
  print("✅ Pretrained models already exist.")
38
 
39
 
 
 
 
 
40
  # -----------------------------
41
  # Step 1: Get Anchor Video
42
  # -----------------------------
 
37
  print("✅ Pretrained models already exist.")
38
 
39
 
40
+ @spaces.GPU
41
+ def dummy_gpu():
42
+ import torch
43
+ return {"cuda_available": torch.cuda.is_available()}
44
  # -----------------------------
45
  # Step 1: Get Anchor Video
46
  # -----------------------------