Omnibus commited on
Commit
a3d2ffd
1 Parent(s): 51fcf13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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