LiquidoNoNewtoniano commited on
Commit
a5ba672
1 Parent(s): 6c08d2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -16,7 +16,6 @@ pipe.enable_model_cpu_offload()
16
 
17
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
18
  model.to(device)
19
- pipe = pipe.to(device)
20
 
21
  max_length = 16
22
  num_beams = 4
 
16
 
17
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
18
  model.to(device)
 
19
 
20
  max_length = 16
21
  num_beams = 4