Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from transformers import MBartForConditionalGeneration, MBart50TokenizerFast
|
| 3 |
-
import sentencepiece
|
| 4 |
|
| 5 |
text = st.text_area('Enter the text:')
|
| 6 |
model = MBartForConditionalGenerationneration.from_pretrained("facebook/mbart-large-50-one-to-many-mmt")
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from transformers import MBartForConditionalGeneration, MBart50TokenizerFast
|
|
|
|
| 3 |
|
| 4 |
text = st.text_area('Enter the text:')
|
| 5 |
model = MBartForConditionalGenerationneration.from_pretrained("facebook/mbart-large-50-one-to-many-mmt")
|