Update app.py
Browse files
app.py
CHANGED
|
@@ -8,8 +8,8 @@ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, MarianMTModel, Ma
|
|
| 8 |
DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 9 |
|
| 10 |
MODEL_OPTIONS = [
|
| 11 |
-
"Helsinki-NLP", # Round-trip OPUS-MT en→es→en
|
| 12 |
-
"FLAN-T5-base (Google
|
| 13 |
]
|
| 14 |
|
| 15 |
# Cache
|
|
|
|
| 8 |
DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 9 |
|
| 10 |
MODEL_OPTIONS = [
|
| 11 |
+
"Helsinki-NLP (Acceptable)", # Round-trip OPUS-MT en→es→en
|
| 12 |
+
"FLAN-T5-base (Google poor results)"
|
| 13 |
]
|
| 14 |
|
| 15 |
# Cache
|