Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
from transformers import pipeline
|
|
|
2 |
pipe = pipeline("text2text-generation", model="long292/bartpho-word")
|
3 |
def translate_HV(from_text):
|
4 |
results = translation_pipeline(from_text)
|
|
|
1 |
from transformers import pipeline
|
2 |
+
import gradio as gr
|
3 |
pipe = pipeline("text2text-generation", model="long292/bartpho-word")
|
4 |
def translate_HV(from_text):
|
5 |
results = translation_pipeline(from_text)
|