Spaces:
Build error
Build error
Update app.py
Browse files
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","{","}")):
|