Spaces:
Sleeping
Sleeping
Commit ·
61ae569
1
Parent(s): 9037682
trail run2
Browse files
app.py
CHANGED
|
@@ -5,6 +5,8 @@ from transformers import pipeline
|
|
| 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 |
|
|
|
|
| 5 |
# Initialize the translation pipeline with T5-base model
|
| 6 |
translator = pipeline("translation", model="google-t5/t5-base")
|
| 7 |
|
| 8 |
+
|
| 9 |
+
|
| 10 |
# Define available languages
|
| 11 |
AVAILABLE_LANGUAGES = ["French", "German", "Romanian"]
|
| 12 |
|