smjain commited on
Commit
643bcbf
1 Parent(s): 26559d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,4 +1,4 @@
1
- from transformers import pipeline
2
  import gradio as grad
3
  mdl_name = "Helsinki-NLP/opus-mt-en-de"
4
  mdl = AutoModelForSeq2SeqLM.from_pretrained(mdl_name)
 
1
+ from transformers import AutoModelForSeq2SeqLM,AutoTokenizer
2
  import gradio as grad
3
  mdl_name = "Helsinki-NLP/opus-mt-en-de"
4
  mdl = AutoModelForSeq2SeqLM.from_pretrained(mdl_name)