neena2024 commited on
Commit
0d819ba
·
verified ·
1 Parent(s): 87eab0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -6,12 +6,6 @@ from transformers import pipeline
6
 
7
  text_translation = pipeline("translation", model="facebook/nllb-200-distilled-600M", torch_dtype=torch.float16)
8
 
9
- # text = "Hello, How are you ?"
10
-
11
- # translation = text_translation(text, src_lang="eng_Latn", tgt_lang="fra_Latn")
12
-
13
- # print(translation)
14
-
15
  # Load the JSON data from the file
16
  with open('language.json', 'r') as file:
17
  language_data = json.load(file)
 
6
 
7
  text_translation = pipeline("translation", model="facebook/nllb-200-distilled-600M", torch_dtype=torch.float16)
8
 
 
 
 
 
 
 
9
  # Load the JSON data from the file
10
  with open('language.json', 'r') as file:
11
  language_data = json.load(file)