Omnibus commited on
Commit
f9f88c3
1 Parent(s): 0dfe40a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -461,11 +461,12 @@ def create_index():
461
  if not r.status_code==200:
462
  main = []
463
  try:
464
- for ea in main[0]:
 
465
  print(f"KEYWORDS:: {ea['keywords']}")
466
  except Exception as e:
467
  print(f"ERROR:: {e}")
468
- for ea in main[0]:
469
  try:
470
  for k in ea['keywords']:
471
  print(k)
 
461
  if not r.status_code==200:
462
  main = []
463
  try:
464
+ for ea in main:
465
+ print(f'###### EACH::: {ea}')
466
  print(f"KEYWORDS:: {ea['keywords']}")
467
  except Exception as e:
468
  print(f"ERROR:: {e}")
469
+ for ea in main:
470
  try:
471
  for k in ea['keywords']:
472
  print(k)