Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -423,10 +423,10 @@ Required keys:
|
|
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 |
|
|
|
423 |
|
424 |
|
425 |
def format_json(inp):
|
|
|
|
|
426 |
print("FORMATTING:::")
|
427 |
+
inp=str(inp)
|
428 |
out_json = inp.split("{")[1].split("}",-1)[0]
|
429 |
+
out_json={out_json}
|
430 |
print(out_json)
|
431 |
return out_json
|
432 |
|