Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,10 +31,12 @@ def chat_con_bot(ciudad, informacion_clinica):
|
|
| 31 |
|
| 32 |
# Configurar la interfaz de Gradio usando Blocks
|
| 33 |
with gr.Blocks() as interfaz:
|
| 34 |
-
#
|
| 35 |
with gr.Row():
|
| 36 |
-
gr.
|
| 37 |
-
|
|
|
|
|
|
|
| 38 |
|
| 39 |
# Entrada de información clínica
|
| 40 |
with gr.Row():
|
|
@@ -63,4 +65,3 @@ with gr.Blocks() as interfaz:
|
|
| 63 |
|
| 64 |
# Lanzar la aplicación
|
| 65 |
interfaz.launch()
|
| 66 |
-
|
|
|
|
| 31 |
|
| 32 |
# Configurar la interfaz de Gradio usando Blocks
|
| 33 |
with gr.Blocks() as interfaz:
|
| 34 |
+
# Contenedor para el gráfico y el título
|
| 35 |
with gr.Row():
|
| 36 |
+
with gr.Column(scale=1): # Controla el tamaño del contenedor del gráfico
|
| 37 |
+
gr.Image("medicina.png", label="Gráfico Medicina", width="100%") # La imagen se ajusta al ancho del contenedor
|
| 38 |
+
with gr.Column(scale=3): # El título ocupa más espacio
|
| 39 |
+
gr.Markdown("# Consulta Médica colombiana IA\nModelo Llama 3.1 70B en español")
|
| 40 |
|
| 41 |
# Entrada de información clínica
|
| 42 |
with gr.Row():
|
|
|
|
| 65 |
|
| 66 |
# Lanzar la aplicación
|
| 67 |
interfaz.launch()
|
|
|