Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
with urllib.request.urlopen('https://huggingface.co/datasets/Seetha/visual_files/raw/main/level2.json') as response:
|
2 |
+
data = response.read()
|
3 |
+
st.write(data)
|
4 |
+
|
5 |
+
with open('level2.json','w') as fi:
|
6 |
+
f.write(data)
|
7 |
+
|