Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@ from utils_gdmk import (
|
|
3 |
inicializar_grafo, visualizar_grafo, agregar_aporte
|
4 |
)
|
5 |
|
|
|
|
|
6 |
# Initialize graph before launching UI
|
7 |
inicializar_grafo()
|
8 |
|
@@ -19,7 +21,7 @@ with iface:
|
|
19 |
|
20 |
# 馃搶 Input Fields
|
21 |
with gr.Row():
|
22 |
-
nombre = gr.Dropdown(choices=
|
23 |
|
24 |
with gr.Row():
|
25 |
texto = gr.Textbox(label="Tu aporte")
|
|
|
3 |
inicializar_grafo, visualizar_grafo, agregar_aporte
|
4 |
)
|
5 |
|
6 |
+
students = ["Alice", "Bob", "Charlie"]
|
7 |
+
|
8 |
# Initialize graph before launching UI
|
9 |
inicializar_grafo()
|
10 |
|
|
|
21 |
|
22 |
# 馃搶 Input Fields
|
23 |
with gr.Row():
|
24 |
+
nombre = gr.Dropdown(choices=students, label="Nombre del Estudiante")
|
25 |
|
26 |
with gr.Row():
|
27 |
texto = gr.Textbox(label="Tu aporte")
|