Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from transformers import pipeline
|
|
| 9 |
|
| 10 |
# text_translator = pipeline("translation", model=model_path, torch_dtype=torch.bfloat16)
|
| 11 |
|
| 12 |
-
pipe = pipeline("translation", model="facebook/nllb-200-distilled-600M")
|
| 13 |
|
| 14 |
# text = "Hello friends, How are you?"
|
| 15 |
|
|
|
|
| 9 |
|
| 10 |
# text_translator = pipeline("translation", model=model_path, torch_dtype=torch.bfloat16)
|
| 11 |
|
| 12 |
+
pipe = pipeline("translation", model="facebook/nllb-200-distilled-600M", torch_dtype=torch.bfloat16)
|
| 13 |
|
| 14 |
# text = "Hello friends, How are you?"
|
| 15 |
|