Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -489,9 +489,11 @@ def main():
|
|
489 |
#with open(DATA_FILE, 'w') as f: #w+
|
490 |
# with urllib.request.urlopen(DATASET_REPO_URL) as response:
|
491 |
# data = response.read()
|
|
|
492 |
with open('level2.json','w') as f:
|
493 |
#st.write(f.write(json.dump(json_data)))
|
494 |
-
f.write(json.dump(json_data))
|
|
|
495 |
|
496 |
|
497 |
df_final1.to_csv('predictions.csv')
|
|
|
489 |
#with open(DATA_FILE, 'w') as f: #w+
|
490 |
# with urllib.request.urlopen(DATASET_REPO_URL) as response:
|
491 |
# data = response.read()
|
492 |
+
|
493 |
with open('level2.json','w') as f:
|
494 |
#st.write(f.write(json.dump(json_data)))
|
495 |
+
#f.write(json.dump(json_data))
|
496 |
+
json.dump(json_data, f)
|
497 |
|
498 |
|
499 |
df_final1.to_csv('predictions.csv')
|