import streamlit as st import json st.write("Saved") import os # Path to the directory you want to search directory_path = '/data/' # List to hold all python files python_files = [] # Walk through directory for root, dirs, files in os.walk(directory_path): for file in files: if file.endswith('.json'): # Create full path to file full_path = os.path.join(root, file) python_files.append(full_path) st.write(python_files) # f = open('/data/test_output.json') # json_test = json.load(f) # st.json(json_test)