Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,15 @@ from transformers import pipeline
|
|
4 |
|
5 |
first = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-tl-en")
|
6 |
second = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-en-ceb")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
test = gr.Series(first,second).launch()
|
8 |
|
9 |
|
|
|
4 |
|
5 |
first = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-tl-en")
|
6 |
second = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-en-ceb")
|
7 |
+
gr.Interface(
|
8 |
+
fn,
|
9 |
+
inputs='text',
|
10 |
+
outputs='text',
|
11 |
+
examples=[["Magandang Umaga"],["Magandang gabi"],["Masarap ang Adobo"],["Kumusta ka na"],["Magandang umaga"]],
|
12 |
+
theme="darkpeach",
|
13 |
+
css=".footer{display:none !important}",
|
14 |
+
)
|
15 |
+
|
16 |
test = gr.Series(first,second).launch()
|
17 |
|
18 |
|