Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -342,9 +342,9 @@ def loadfile(f):
|
|
342 |
return f
|
343 |
|
344 |
def show_json(txt):
|
345 |
-
|
346 |
print(txt)
|
347 |
-
return
|
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):
|