Spaces:
Sleeping
Sleeping
import streamlit as st | |
import os | |
try: | |
raw_docs_files = ", ".join(os.listdir("./raw_documents")) | |
curr_directory_files = ", ".join(os.listdir(".")) | |
with open("./results/time_cost.txt", "r") as fp: | |
time_cost_str = fp.read() | |
system_update = raw_docs_files + "\n\n" + curr_directory_files + "\n\n" + time_cost_str | |
except: | |
system_update = "NA" | |
st.write(f"Hello World! File list: {system_update}") |