gokaygokay commited on
Commit
13446b7
1 Parent(s): 39ffbcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import torch
7
  import spaces
8
 
9
  # Initialize the AuraSR model
10
- aura_sr = AuraSR.from_pretrained("fal-ai/AuraSR")
11
 
12
  # Move the model to CUDA if available, otherwise keep it on CPU
13
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
7
  import spaces
8
 
9
  # Initialize the AuraSR model
10
+ aura_sr = AuraSR.from_pretrained("fal-ai/AuraSR", map_location=torch.device('cpu'))
11
 
12
  # Move the model to CUDA if available, otherwise keep it on CPU
13
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")