jcmachicao commited on
Commit
20df700
verified
1 Parent(s): 6f85941

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -20,6 +20,16 @@ headers = {
20
  "Content-Type": "application/json"
21
  }
22
 
 
 
 
 
 
 
 
 
 
 
23
  def cargar_desde_airtable():
24
  response = requests.get(url, headers=headers)
25
 
 
20
  "Content-Type": "application/json"
21
  }
22
 
23
+ # Cargar el JSON de normativas
24
+ def cargar_normativas():
25
+ with open('normativas.json', 'r', encoding='utf-8') as f:
26
+ return json.load(f)
27
+
28
+ # Cargar la lista de estudiantes
29
+ def cargar_estudiantes():
30
+ with open('estudiantes.json', 'r', encoding='utf-8') as f:
31
+ return json.load(f)
32
+
33
  def cargar_desde_airtable():
34
  response = requests.get(url, headers=headers)
35