Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,9 @@ Este modelo forma parte de nuestro proyecto de supervisión de machine learning,
|
|
| 26 |
|
| 27 |
|
| 28 |
with gr.Blocks() as app:
|
| 29 |
-
gr.
|
|
|
|
|
|
|
| 30 |
with gr.Row():
|
| 31 |
textbox = gr.Textbox(lines=2, placeholder="Ingrese su queja de logística aquí...")
|
| 32 |
submit_button = gr.Button("Predecir")
|
|
@@ -34,10 +36,6 @@ with gr.Blocks() as app:
|
|
| 34 |
|
| 35 |
submit_button.click(predict, inputs=textbox, outputs=label)
|
| 36 |
|
| 37 |
-
app.title = "Clasificador de Quejas de Logística"
|
| 38 |
-
app.description = description
|
| 39 |
-
app.css = ".markdown-text { font-family: Arial, sans-serif; }"
|
| 40 |
-
|
| 41 |
app.launch()
|
| 42 |
|
| 43 |
#iface = gr.Interface(
|
|
|
|
| 26 |
|
| 27 |
|
| 28 |
with gr.Blocks() as app:
|
| 29 |
+
gr.Markdown("# Clasificador de Quejas de Logística")
|
| 30 |
+
gr.Markdown(description)
|
| 31 |
+
gr.HTML('<img src="https://cdn2.hubspot.net/hubfs/5700174/cmyk_schaman-logotipo_subrayado.jpg" alt="Schaman Logo" style="width:400px;">')
|
| 32 |
with gr.Row():
|
| 33 |
textbox = gr.Textbox(lines=2, placeholder="Ingrese su queja de logística aquí...")
|
| 34 |
submit_button = gr.Button("Predecir")
|
|
|
|
| 36 |
|
| 37 |
submit_button.click(predict, inputs=textbox, outputs=label)
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
app.launch()
|
| 40 |
|
| 41 |
#iface = gr.Interface(
|