guidel commited on
Commit
db19c0d
1 Parent(s): 8c48c65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@
2
 
3
  import gradio as gr
4
 
5
- from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
6
 
7
  en_nl_tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-en-nl")
8
  en_nl_model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-en-nl")
 
2
 
3
  import gradio as gr
4
 
5
+ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
6
 
7
  en_nl_tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-en-nl")
8
  en_nl_model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-en-nl")