Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import os
|
|
| 4 |
with urllib.request.urlopen('https://huggingface.co/datasets/Seetha/visual_files/raw/main/level2.json') as response:
|
| 5 |
data = response.read()
|
| 6 |
|
| 7 |
-
with open('level2.json','r+') as fi:
|
| 8 |
data = fi.read()
|
| 9 |
st.write(data)
|
| 10 |
fi.seek(0)
|
|
|
|
| 4 |
with urllib.request.urlopen('https://huggingface.co/datasets/Seetha/visual_files/raw/main/level2.json') as response:
|
| 5 |
data = response.read()
|
| 6 |
|
| 7 |
+
with open('/home/user/app/level2.json','r+') as fi:
|
| 8 |
data = fi.read()
|
| 9 |
st.write(data)
|
| 10 |
fi.seek(0)
|