File size: 326 Bytes
36bbacc
c9d6da6
9650f42
 
 
e2ba2da
 
 
 
ae897df
e2ba2da
9650f42
1
2
3
4
5
6
7
8
9
10
11
12
import urllib.request
import streamlit as st
with urllib.request.urlopen('https://huggingface.co/datasets/Seetha/visual_files/raw/main/level2.json') as response:
    data = response.read()

with open('level2.json','r+') as fi:
    data = fi.read()
    st.write(data)
    fi.seek(0)
    fi.write(str(data))
    fi.truncate