Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,9 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
from utils_gdmk import (
|
3 |
inicializar_grafo, cargar_vocabulario, cargar_nombres, visualizar_grafo, agregar_aporte
|
4 |
)
|
5 |
|
6 |
-
# Sample vocabulary for concept extraction
|
7 |
-
VOCABULARY = ["algoritmos", "inteligencia artificial", "pol铆ticas p煤blicas",
|
8 |
-
"educaci贸n a distancia", "gobernanza", "educaci贸n superior"]
|
9 |
-
|
10 |
G = nx.DiGraph()
|
11 |
inicializar_grafo() # Call this before displaying the graph
|
12 |
|
|
|
1 |
import gradio as gr
|
2 |
+
import networkx as nx
|
3 |
from utils_gdmk import (
|
4 |
inicializar_grafo, cargar_vocabulario, cargar_nombres, visualizar_grafo, agregar_aporte
|
5 |
)
|
6 |
|
|
|
|
|
|
|
|
|
7 |
G = nx.DiGraph()
|
8 |
inicializar_grafo() # Call this before displaying the graph
|
9 |
|