jcmachicao commited on
Commit
e9e9f20
verified
1 Parent(s): 22f5e99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -60,11 +60,6 @@ def inicializar_grafo():
60
  G.add_edge(norma, enfoque, label=textox)
61
 
62
  def guardar_en_airtable(nombre, enfoque, norma, texto):
63
- url = f"https://api.airtable.com/v0/{BASE_ID_2}/{TABLE_NAME_2}"
64
- headers = {
65
- "Authorization": f"Bearer {AIRTABLE_API_KEY}",
66
- "Content-Type": "application/json"
67
- }
68
  data = {"fields": {"Nombre": nombre, "Enfoque": enfoque, "Norma": norma, "Texto_HF": texto}}
69
  requests.post(url, headers=headers, json=data)
70
 
 
60
  G.add_edge(norma, enfoque, label=textox)
61
 
62
  def guardar_en_airtable(nombre, enfoque, norma, texto):
 
 
 
 
 
63
  data = {"fields": {"Nombre": nombre, "Enfoque": enfoque, "Norma": norma, "Texto_HF": texto}}
64
  requests.post(url, headers=headers, json=data)
65