Update app.py
Browse files
app.py
CHANGED
|
@@ -81,13 +81,14 @@ def main(Texto, lang):
|
|
| 81 |
|
| 82 |
return html_output
|
| 83 |
|
|
|
|
| 84 |
iface = gr.Interface(
|
| 85 |
fn=main,
|
| 86 |
inputs=["text", gr.Dropdown(lang_list, label="Idioma")],
|
| 87 |
outputs="html",
|
| 88 |
-
title="
|
| 89 |
-
description="Ingresa el texto que deseas traducir y selecciona el idioma de destino
|
| 90 |
-
article="
|
| 91 |
)
|
| 92 |
|
| 93 |
iface.launch()
|
|
|
|
| 81 |
|
| 82 |
return html_output
|
| 83 |
|
| 84 |
+
|
| 85 |
iface = gr.Interface(
|
| 86 |
fn=main,
|
| 87 |
inputs=["text", gr.Dropdown(lang_list, label="Idioma")],
|
| 88 |
outputs="html",
|
| 89 |
+
title="<div style='margin:0 auto;text-align:center'><div style='margin:0 auto;text-align:center'><img style='width:100px;display: inline-table;margin-bottom:-10px' src='https://artxeweb.com/media/files/google.jpg'><p>Traducción sin límites</p></div>",
|
| 90 |
+
description="<p style='margin-bottom:10px;text-align:center;background: #ffffff; padding: 8px; border-radius: 8px; border-width: 1px; border: solid 1px #e5e7eb;'>Ingresa el texto que deseas traducir y selecciona el idioma de destino</p>",
|
| 91 |
+
article="<div style='margin-top:10px'><p style='text-align: center !important; background: #ffffff; padding: 5px 30px; border-radius: 8px; border-width: 1px; border: solid 1px #e5e7eb; width: fit-content; margin: auto;'>Desarrollada por <a style='text-decoration: none !important; color: #e12a31 !important;' href='https://artxeweb.com'>© Artxe Web</a></p></div>"
|
| 92 |
)
|
| 93 |
|
| 94 |
iface.launch()
|