Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,8 @@ import gc
|
|
3 |
from collections import defaultdict
|
4 |
import torch
|
5 |
from transformers import pipeline
|
6 |
-
from lingua import Language,
|
7 |
-
|
8 |
-
__version__ = "0.1.0"
|
9 |
|
10 |
#if torch.cuda.is_available():
|
11 |
# device_tag = 0 # first gpu
|
|
|
3 |
from collections import defaultdict
|
4 |
import torch
|
5 |
from transformers import pipeline
|
6 |
+
from lingua import Language,LanguageDetectorBuilder
|
7 |
+
#__version__ = "0.1.0"
|
|
|
8 |
|
9 |
#if torch.cuda.is_available():
|
10 |
# device_tag = 0 # first gpu
|