Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ pipe = pipeline(
|
|
| 16 |
device='cpu',
|
| 17 |
)
|
| 18 |
|
| 19 |
-
## Download the mbart model
|
| 20 |
model = MBartForConditionalGeneration.from_pretrained("sanjitaa/mbart-many-to-many")
|
| 21 |
tokenizer = MBart50TokenizerFast.from_pretrained("sanjitaa/mbart-many-to-many")
|
| 22 |
|
|
|
|
| 16 |
device='cpu',
|
| 17 |
)
|
| 18 |
|
| 19 |
+
## Download the mbart model from hugging face
|
| 20 |
model = MBartForConditionalGeneration.from_pretrained("sanjitaa/mbart-many-to-many")
|
| 21 |
tokenizer = MBart50TokenizerFast.from_pretrained("sanjitaa/mbart-many-to-many")
|
| 22 |
|