YASHWANTHYARABATI
commited on
Commit
•
7006fd9
1
Parent(s):
9fcde46
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import json
|
|
6 |
from transformers import pipeline
|
7 |
|
8 |
text_translator = pipeline("translation", model="facebook/nllb-200-distilled-600M",
|
9 |
-
torch_dtype=torch.bfloat16
|
10 |
|
11 |
with open('languages.json', 'r') as file:
|
12 |
language_data = json.load(file)
|
|
|
6 |
from transformers import pipeline
|
7 |
|
8 |
text_translator = pipeline("translation", model="facebook/nllb-200-distilled-600M",
|
9 |
+
torch_dtype=torch.bfloat16)
|
10 |
|
11 |
with open('languages.json', 'r') as file:
|
12 |
language_data = json.load(file)
|