Spaces:
Runtime error
Runtime error
File size: 472 Bytes
1c0dfed 54a8795 d35a6a7 aab3008 26371d1 1c0dfed |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
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()
|