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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -461,11 +461,11 @@ def create_index():
461
  if not r.status_code==200:
462
  main = []
463
  try:
464
- for ea in main:
465
  print(f"KEYWORDS:: {ea['keywords']}")
466
  except Exception as e:
467
- print(f"KEYWORDS:: {e}")
468
- for ea in main:
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[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)