Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from kuidastaltsutadalaamat.data import LazyTokenizingInferenceDataset
|
|
| 6 |
from kuidastaltsutadalaamat.promptops import *
|
| 7 |
|
| 8 |
accel = None
|
| 9 |
-
model_id = "
|
| 10 |
|
| 11 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 12 |
model = load_model(model_id, device, accelerator=accel, attention="eager") #eager for cpu
|
|
|
|
| 6 |
from kuidastaltsutadalaamat.promptops import *
|
| 7 |
|
| 8 |
accel = None
|
| 9 |
+
model_id = "tartuNLP/smugri4-mt"
|
| 10 |
|
| 11 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 12 |
model = load_model(model_id, device, accelerator=accel, attention="eager") #eager for cpu
|