cdcvd commited on
Commit
cd9c591
1 Parent(s): 611ad83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ gemma_pipe = pipeline(
13
  "text-generation",
14
  model="google/gemma-2-27b-it",
15
  model_kwargs={"torch_dtype": torch.bfloat16},
16
- device="cuda"
17
  )
18
 
19
  def extract_text_from_pdf(pdf_file):
 
13
  "text-generation",
14
  model="google/gemma-2-27b-it",
15
  model_kwargs={"torch_dtype": torch.bfloat16},
16
+ device="cpu"
17
  )
18
 
19
  def extract_text_from_pdf(pdf_file):