Spaces:
Runtime error
Runtime error
import streamlit as st | |
import shutil | |
import os | |
# total, used, free = shutil.disk_usage("/home/user/app") | |
# st.write(f"Total: {total*0.000000001:.2f} GB") | |
# st.write(f"Used: {used*0.000000001:.2f} GB") | |
# st.write(f"Free:{free*0.000000001:.2f} GB") | |
# st.write(os.listdir("/home/user/app")) | |
with open("/home/user/app/Dockerfile", "rt") as f: | |
st.text(f.read()) |