Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -514,7 +514,8 @@ def main():
|
|
514 |
fi.seek(0)
|
515 |
#fi.write(json_data)
|
516 |
json.dump(json_data,fi)
|
517 |
-
|
|
|
518 |
fi.truncate()
|
519 |
# file_jso.truncate(0)
|
520 |
# file_jso.write(json_data)
|
|
|
514 |
fi.seek(0)
|
515 |
#fi.write(json_data)
|
516 |
json.dump(json_data,fi)
|
517 |
+
data_after = json.load(fi)
|
518 |
+
st.write('after',data_after)
|
519 |
fi.truncate()
|
520 |
# file_jso.truncate(0)
|
521 |
# file_jso.write(json_data)
|