Spaces:
Sleeping
Sleeping
Commit ·
a22dc75
1
Parent(s): ea62e69
update 2
Browse files
app.py
CHANGED
|
@@ -5,7 +5,6 @@ from transformers import pipeline
|
|
| 5 |
# Initialize the translation pipeline with T5-base model
|
| 6 |
translator = pipeline("translation", model="google-t5/t5-base")
|
| 7 |
|
| 8 |
-
|
| 9 |
# Define available languages
|
| 10 |
AVAILABLE_LANGUAGES = ["French", "German", "Romanian"]
|
| 11 |
|
|
|
|
| 5 |
# Initialize the translation pipeline with T5-base model
|
| 6 |
translator = pipeline("translation", model="google-t5/t5-base")
|
| 7 |
|
|
|
|
| 8 |
# Define available languages
|
| 9 |
AVAILABLE_LANGUAGES = ["French", "German", "Romanian"]
|
| 10 |
|