Seetha commited on
Commit
88eea8e
·
1 Parent(s): be0978c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -509,8 +509,10 @@ def main():
509
  #data = fi.read()
510
  #fi.seek(0)
511
  file_jso = open('smalljson.json','r+')
 
512
  file_jso.truncate(0)
513
  file_jso.write(json_data)
 
514
  file_jso.close()
515
  # api.upload_file(
516
  # path_or_fileobj=json_data,
 
509
  #data = fi.read()
510
  #fi.seek(0)
511
  file_jso = open('smalljson.json','r+')
512
+ st.write(file_jso)
513
  file_jso.truncate(0)
514
  file_jso.write(json_data)
515
+ st.write('after',file_jso)
516
  file_jso.close()
517
  # api.upload_file(
518
  # path_or_fileobj=json_data,