Update app.py
#2
by
LLMproj1
- opened
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="
|
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
|