Spaces:
Running
Running
File size: 423 Bytes
23e06a5 00561ea 23e06a5 00561ea 23e06a5 00561ea |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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}") |