Omnibus commited on
Commit
598c3f7
·
verified ·
1 Parent(s): 7faf1b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -384,7 +384,7 @@ Required keys:
384
  def format_json(inp):
385
  new_json=[]
386
  print("FORMATTING:::")
387
- for i,line in enumerate(inp):
388
  line = line.strip()
389
  print(line)
390
  if line.startswith(("keywords","title","description","content","url","{","}")):
 
384
  def format_json(inp):
385
  new_json=[]
386
  print("FORMATTING:::")
387
+ for i,line in enumerate(inp.split("\n")):
388
  line = line.strip()
389
  print(line)
390
  if line.startswith(("keywords","title","description","content","url","{","}")):