Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|