Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -509,9 +509,9 @@ def main():
|
|
509 |
#data = fi.read()
|
510 |
#fi.seek(0)
|
511 |
with open('smalljson.json','w') as fi:
|
512 |
-
|
513 |
#st.write(data)
|
514 |
-
|
515 |
fi.write(json_data)
|
516 |
# fi.truncate()
|
517 |
# file_jso.truncate(0)
|
|
|
509 |
#data = fi.read()
|
510 |
#fi.seek(0)
|
511 |
with open('smalljson.json','w') as fi:
|
512 |
+
# data = json.load(fi)
|
513 |
#st.write(data)
|
514 |
+
# fi.seek(0)
|
515 |
fi.write(json_data)
|
516 |
# fi.truncate()
|
517 |
# file_jso.truncate(0)
|