mbarnig commited on
Commit
d95d8af
1 Parent(s): 2164c20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 AutoTokenizer, AutoModelForSeq2SeqLM, 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 ! 🇫🇷"
 
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 ! 🇫🇷"