Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,14 +4,6 @@ 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 |
-
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 |
|
|
|
|
| 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 |
|
| 8 |
test = gr.Series(first,second).launch()
|
| 9 |
|