Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ pipeline = transformers.pipeline(
12
  "text-generation",
13
  model=model_name,
14
  model_kwargs={"torch_dtype": torch.bfloat16},
15
- device="cpu",
16
  )
17
 
18
  @spaces.GPU
 
12
  "text-generation",
13
  model=model_name,
14
  model_kwargs={"torch_dtype": torch.bfloat16},
15
+ device="cuda",
16
  )
17
 
18
  @spaces.GPU