Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
|
|
3 |
translator = pipeline("translation",model="Helsinki-NLP/opus-mt-mul-en", max_length=40)
|
4 |
#classifier = pipeline("translation", model="Helsinki-NLP/opus-mt-mul-en")
|
5 |
def main():
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
+
|
4 |
translator = pipeline("translation",model="Helsinki-NLP/opus-mt-mul-en", max_length=40)
|
5 |
#classifier = pipeline("translation", model="Helsinki-NLP/opus-mt-mul-en")
|
6 |
def main():
|