| 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() | |
| st.write(data) | |
| with open('level2.json','w') as fi: | |
| f.write(data) | |
| 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() | |
| st.write(data) | |
| with open('level2.json','w') as fi: | |
| f.write(data) | |