Tri4 commited on
Commit
a529be5
·
verified ·
1 Parent(s): 8d6e063

Update modules/app.py

Browse files
Files changed (1) hide show
  1. modules/app.py +2 -2
modules/app.py CHANGED
@@ -54,7 +54,7 @@ beam_size = 1 # change to a smaller value for faster inference
54
  device = "cpu" # or "cuda"
55
 
56
  # Language Prediction model
57
- print("\nimporting Language Prediction model")
58
  lang_model_file = "lid218e.bin"
59
  lang_model_full_path = os.path.join(os.path.dirname(__file__), lang_model_file)
60
  lang_model = fasttext.load_model(lang_model_full_path)
@@ -172,4 +172,4 @@ async def translate_enter_endpoint(request: Request):
172
  }
173
 
174
 
175
- print("\nAPI starting .......\n")
 
54
  device = "cpu" # or "cuda"
55
 
56
  # Language Prediction model
57
+ print("\nimporting Languages Prediction model")
58
  lang_model_file = "lid218e.bin"
59
  lang_model_full_path = os.path.join(os.path.dirname(__file__), lang_model_file)
60
  lang_model = fasttext.load_model(lang_model_full_path)
 
172
  }
173
 
174
 
175
+ print("\nAPIss starting .......\n")