Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ context_session = ort.InferenceSession(context_model_file)
|
|
| 12 |
translation_session = ort.InferenceSession(translation_model_file)
|
| 13 |
|
| 14 |
# Load tokenizers for context and translation models
|
| 15 |
-
context_tokenizer = AutoTokenizer.from_pretrained("facebook/bart-
|
| 16 |
translation_tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-en-fr")
|
| 17 |
|
| 18 |
labels = [
|
|
|
|
| 12 |
translation_session = ort.InferenceSession(translation_model_file)
|
| 13 |
|
| 14 |
# Load tokenizers for context and translation models
|
| 15 |
+
context_tokenizer = AutoTokenizer.from_pretrained("facebook/bart-large-mnli")
|
| 16 |
translation_tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-en-fr")
|
| 17 |
|
| 18 |
labels = [
|