Spaces:
Runtime error
Runtime error
kwabs22
commited on
Commit
·
f03358b
1
Parent(s):
6cf6f46
Refactor Proto Assist accordion to absorb mess
Browse files
app.py
CHANGED
|
@@ -363,7 +363,7 @@ def show_elements_json_input(json_input):
|
|
| 363 |
"developernotes": json.loads(current_values[i*num_current_unique_fields + 5])
|
| 364 |
}
|
| 365 |
updated_data["masterlocation1"]["end"] = masterlocation1["end"]
|
| 366 |
-
return json.dumps(updated_data, indent=2), #json.dumps(updated_data, default=lambda o: o.__dict__, indent=2)
|
| 367 |
|
| 368 |
update_button = gr.Button("Update JSON")
|
| 369 |
#json_output = gr.Textbox(label="Updated JSON", lines=10)
|
|
|
|
| 363 |
"developernotes": json.loads(current_values[i*num_current_unique_fields + 5])
|
| 364 |
}
|
| 365 |
updated_data["masterlocation1"]["end"] = masterlocation1["end"]
|
| 366 |
+
return json.dumps(updated_data, default=lambda o: o.__dict__, indent=2), #json.dumps(updated_data, default=lambda o: o.__dict__, indent=2)
|
| 367 |
|
| 368 |
update_button = gr.Button("Update JSON")
|
| 369 |
#json_output = gr.Textbox(label="Updated JSON", lines=10)
|