freealise commited on
Commit
19a1dc3
1 Parent(s): b9f1b0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -342,9 +342,9 @@ def loadfile(f):
342
  return f
343
 
344
  def show_json(txt):
345
- result = json.loads(txt)
346
  print(txt)
347
- return result.data
348
 
349
 
350
  def select_frame(v, evt: gr.SelectData):
 
342
  return f
343
 
344
  def show_json(txt):
345
+ data = json.loads(txt)
346
  print(txt)
347
+ return data
348
 
349
 
350
  def select_frame(v, evt: gr.SelectData):