long292 commited on
Commit
3b32968
·
verified ·
1 Parent(s): 9841754

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  pipe = pipeline("text2text-generation", model="long292/bartpho-word")
2
  def translate_HV(from_text):
3
  results = translation_pipeline(from_text)
 
1
+ from transformer import pipeline
2
  pipe = pipeline("text2text-generation", model="long292/bartpho-word")
3
  def translate_HV(from_text):
4
  results = translation_pipeline(from_text)