BrianL's picture
Update app.py
aab3008
raw
history blame
472 Bytes
import gradio as gr
from transformers import pipeline
first = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-tl-en")
second = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-en-ceb")
gr.Interface(
fn,
inputs='text',
outputs='text',
examples=[["Magandang Umaga"],["Magandang gabi"],["Masarap ang Adobo"],["Kumusta ka na"],["Magandang umaga"]],
theme="darkpeach",
css=".footer{display:none !important}",
)
test = gr.Series(first,second).launch()