Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|