Update README.md
Browse files
README.md
CHANGED
@@ -21,7 +21,7 @@ import torch
|
|
21 |
from transformers import pipeline
|
22 |
|
23 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
24 |
-
pipe = pipeline("text-generation", "
|
25 |
|
26 |
query = "Vad är grundlagen?"
|
27 |
|
|
|
21 |
from transformers import pipeline
|
22 |
|
23 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
24 |
+
pipe = pipeline("text-generation", "AI-Sweden-Models/tyr", device=device)
|
25 |
|
26 |
query = "Vad är grundlagen?"
|
27 |
|