humbleakh commited on
Commit
b5506d1
·
verified ·
1 Parent(s): 54006e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import json
5
 
6
  # model_path = "C:\\Users\\abdul\\Documents\\genaiproj\\genai\\Models\models--facebook--nllb-200-distilled-600M\\snapshots\\f8d333a098d19b4fd9a8b18f94170487ad3f821d"
7
  text_translator = pipeline("translation", model="facebook/nllb-200-distilled-600M", torch_dtype=torch.bfloat16)
8
- # text_translator = pipeline("translation", model=model_path, torch_dtype=torch.bfloat16)
9
 
10
  # with open('C:\\Users\\abdul\\Documents\\genaiproj\\genai\\Files\\language.json', 'r') as file:
11
  with open('language.json', 'r') as file:
 
5
 
6
  # model_path = "C:\\Users\\abdul\\Documents\\genaiproj\\genai\\Models\models--facebook--nllb-200-distilled-600M\\snapshots\\f8d333a098d19b4fd9a8b18f94170487ad3f821d"
7
  text_translator = pipeline("translation", model="facebook/nllb-200-distilled-600M", torch_dtype=torch.bfloat16)
8
+ # text_translator = pipeline("translation", model=model_path, torch_dtype=torch.bfloat16)
9
 
10
  # with open('C:\\Users\\abdul\\Documents\\genaiproj\\genai\\Files\\language.json', 'r') as file:
11
  with open('language.json', 'r') as file: