Aomsin commited on
Commit
8b332ad
·
1 Parent(s): 7238163

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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():