Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,8 @@ pipe = pipeline(
|
|
| 35 |
"text-generation",
|
| 36 |
# model="Qwen/Qwen2.5-0.5B-Instruct",
|
| 37 |
model="Qwen/Qwen2.5-1.5B-Instruct",
|
| 38 |
-
device="cpu"
|
|
|
|
| 39 |
)
|
| 40 |
|
| 41 |
# =========================
|
|
|
|
| 35 |
"text-generation",
|
| 36 |
# model="Qwen/Qwen2.5-0.5B-Instruct",
|
| 37 |
model="Qwen/Qwen2.5-1.5B-Instruct",
|
| 38 |
+
device="cpu",
|
| 39 |
+
torch_dtype="auto"
|
| 40 |
)
|
| 41 |
|
| 42 |
# =========================
|