Update app.py
Browse files
app.py
CHANGED
|
@@ -27,5 +27,12 @@ article = '''
|
|
| 27 |
- [Jose Vílchez](https://huggingface.co/JCarlos)
|
| 28 |
'''
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
iface = gr.Interface(fn=translate, inputs=inputs, outputs=outputs, examples=examples, title=title, description=description, article=article)
|
| 31 |
iface.launch()
|
|
|
|
| 27 |
- [Jose Vílchez](https://huggingface.co/JCarlos)
|
| 28 |
'''
|
| 29 |
|
| 30 |
+
examples=[
|
| 31 |
+
'Dios ama a los hombres',
|
| 32 |
+
'A pesar de todo, soy feliz',
|
| 33 |
+
'¿Qué harán allí?',
|
| 34 |
+
'Debes aprender a respetar',
|
| 35 |
+
]
|
| 36 |
+
|
| 37 |
iface = gr.Interface(fn=translate, inputs=inputs, outputs=outputs, examples=examples, title=title, description=description, article=article)
|
| 38 |
iface.launch()
|