Spaces:
Sleeping
Sleeping
removed provider
Browse files
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(
|
| 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",
|