Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
from huggingface_hub import hf_hub_download
|
4 |
-
from transformers import
|
5 |
|
6 |
model_checkpoint_nllb = "facebook/nllb-200-distilled-600M"
|
7 |
-
model_checkpoint_marian_en = "mbarnig/
|
8 |
-
model_checkpoint_marian_lb = "mbarnig/
|
9 |
model_checkpoint_t5_mt5 = "mbarnig/T5-mt5-tatoeba-en-lb"
|
10 |
|
11 |
my_title = "🇬🇧 Mir iwwersetzen vun an op Lëtzebuergesch ! 🇫🇷"
|
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
from huggingface_hub import hf_hub_download
|
4 |
+
from transformers import pipeline
|
5 |
|
6 |
model_checkpoint_nllb = "facebook/nllb-200-distilled-600M"
|
7 |
+
model_checkpoint_marian_en = "mbarnig/marianNMT-tatoeba-en-lb"
|
8 |
+
model_checkpoint_marian_lb = "mbarnig/marianNMT-tatoeba-lb-en"
|
9 |
model_checkpoint_t5_mt5 = "mbarnig/T5-mt5-tatoeba-en-lb"
|
10 |
|
11 |
my_title = "🇬🇧 Mir iwwersetzen vun an op Lëtzebuergesch ! 🇫🇷"
|