janmoons commited on
Commit
dc41e60
·
verified ·
1 Parent(s): fa36d7f

removed provider

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def translate_text(text:str, source_language:str, target_language:str="nl")-> st
16
  source_language: the language of the input text
17
  target_language: the language the input text needs to be translated to
18
  """
19
- client = InferenceClient(provider="hf-inference")
20
  return client.translation(
21
  text,
22
  model="facebook/nllb-200-1.3B",
 
16
  source_language: the language of the input text
17
  target_language: the language the input text needs to be translated to
18
  """
19
+ client = InferenceClient()
20
  return client.translation(
21
  text,
22
  model="facebook/nllb-200-1.3B",