Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ import transformers
|
|
26 |
from pydub import AudioSegment
|
27 |
from streamlit_extras.streaming_write import write
|
28 |
import time
|
29 |
-
|
30 |
import transformers
|
31 |
from transformers import MBartForConditionalGeneration, MBart50TokenizerFast
|
32 |
translation_model = MBartForConditionalGeneration.from_pretrained("facebook/mbart-large-50-many-to-many-mmt")
|
|
|
26 |
from pydub import AudioSegment
|
27 |
from streamlit_extras.streaming_write import write
|
28 |
import time
|
29 |
+
from langchain.llms import HuggingFaceHub
|
30 |
import transformers
|
31 |
from transformers import MBartForConditionalGeneration, MBart50TokenizerFast
|
32 |
translation_model = MBartForConditionalGeneration.from_pretrained("facebook/mbart-large-50-many-to-many-mmt")
|