Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
3 |
from huggingface_hub import hf_hub_download
|
4 |
-
from transformers import pipeline
|
5 |
|
6 |
REPO_ID_NLLB = "facebook/nllb-200-distilled-600M"
|
7 |
REPO_ID_MARIANNMT_en = "mbarnig/MarianNMT-tatoeba-en-lb"
|
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
3 |
from huggingface_hub import hf_hub_download
|
4 |
+
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
|
5 |
|
6 |
REPO_ID_NLLB = "facebook/nllb-200-distilled-600M"
|
7 |
REPO_ID_MARIANNMT_en = "mbarnig/MarianNMT-tatoeba-en-lb"
|