beriond commited on
Commit
22f6a9a
·
verified ·
1 Parent(s): 90407c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -27,7 +27,6 @@ def carregar_documento_pdf(path):
27
  pipe = pipeline(
28
  "text-generation",
29
  model="mistralai/Mistral-7B-Instruct-v0.2",
30
- model.to("cuda"),
31
  max_new_tokens=512,
32
  do_sample=True,
33
  temperature=0.7,
 
27
  pipe = pipeline(
28
  "text-generation",
29
  model="mistralai/Mistral-7B-Instruct-v0.2",
 
30
  max_new_tokens=512,
31
  do_sample=True,
32
  temperature=0.7,