Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -419,7 +419,21 @@ Required keys:
|
|
419 |
"url":"https://url.source"
|
420 |
"""
|
421 |
|
|
|
|
|
|
|
422 |
def format_json(inp):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
423 |
new_json=[]
|
424 |
start_json={}
|
425 |
print("FORMATTING:::")
|
|
|
419 |
"url":"https://url.source"
|
420 |
"""
|
421 |
|
422 |
+
|
423 |
+
|
424 |
+
|
425 |
def format_json(inp):
|
426 |
+
new_json=[]
|
427 |
+
start_json={}
|
428 |
+
print("FORMATTING:::")
|
429 |
+
out_json = inp.split("{")[1].split("}",-1)[0]
|
430 |
+
print(out_json)
|
431 |
+
return out_json
|
432 |
+
|
433 |
+
|
434 |
+
|
435 |
+
|
436 |
+
def format_json_og(inp):
|
437 |
new_json=[]
|
438 |
start_json={}
|
439 |
print("FORMATTING:::")
|