Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -4,6 +4,7 @@ from transformers import pipeline
|
|
4 |
import os
|
5 |
import torch
|
6 |
|
|
|
7 |
print(torch.cuda.is_available())
|
8 |
summarizer = pipeline("summarization", model="ShynBui/Bartpho_spelling_correction", device=0)
|
9 |
|
|
|
4 |
import os
|
5 |
import torch
|
6 |
|
7 |
+
|
8 |
print(torch.cuda.is_available())
|
9 |
summarizer = pipeline("summarization", model="ShynBui/Bartpho_spelling_correction", device=0)
|
10 |
|