Spaces:
Running
Running
import streamlit as st | |
import os | |
try: | |
raw_docs_files = ", ".join(os.listdir("./raw_documents")) | |
curr_directory_files = ", ".join(os.listdir(".")) | |
with open("./raw_documents/eval_answers.txt", "r") as fp: | |
eval_answers = fp.read() | |
system_update = raw_docs_files + "\n\n" + curr_directory_files + "\n\n" + eval_answers | |
except: | |
system_update = "NA" | |
st.write(f"Hello World! Info about the app: {system_update}") |