Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -429,17 +429,13 @@ def format_json(inp):
|
|
429 |
print(inp)
|
430 |
print("###########")
|
431 |
print("###########")
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
print(line)
|
436 |
-
new_str+=line.strip("\n")
|
437 |
print("###########")
|
438 |
print("###########")
|
439 |
|
440 |
-
out_json
|
441 |
-
print(out_json)
|
442 |
-
return {out_json}
|
443 |
|
444 |
|
445 |
|
|
|
429 |
print(inp)
|
430 |
print("###########")
|
431 |
print("###########")
|
432 |
+
inp = inp.strip("<\s>")
|
433 |
+
out_json=eval(inp)
|
434 |
+
print(out_json)
|
|
|
|
|
435 |
print("###########")
|
436 |
print("###########")
|
437 |
|
438 |
+
return out_json
|
|
|
|
|
439 |
|
440 |
|
441 |
|