Ashrafb commited on
Commit
f6bde3a
1 Parent(s): 6e3dbf6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -6,6 +6,11 @@ import string
6
  import time
7
  from queue import Queue
8
  from threading import Thread
 
 
 
 
 
9
 
10
 
11
 
 
6
  import time
7
  from queue import Queue
8
  from threading import Thread
9
+ from transformers import MBartForConditionalGeneration, MBart50TokenizerFast
10
+
11
+
12
+ model = MBartForConditionalGeneration.from_pretrained("facebook/mbart-large-50-many-to-one-mmt")
13
+ tokenizer = MBart50TokenizerFast
14
 
15
 
16