cakiki commited on
Commit
27a4cb6
1 Parent(s): a47b123

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -2,12 +2,12 @@ import streamlit as st
2
  import shutil
3
  import os
4
 
5
- total, used, free = shutil.disk_usage("/home/user/app")
6
 
7
- st.write(f"Total: {total*0.000000001:.2f} GB")
8
- st.write(f"Used: {used*0.000000001:.2f} GB")
9
- st.write(f"Free:{free*0.000000001:.2f} GB")
10
  # st.write(os.listdir("/home/user/app"))
11
 
12
  with open("/home/user/app/Dockerfile", "rt") as f:
13
- st.write(f.readlines())
 
2
  import shutil
3
  import os
4
 
5
+ # total, used, free = shutil.disk_usage("/home/user/app")
6
 
7
+ # st.write(f"Total: {total*0.000000001:.2f} GB")
8
+ # st.write(f"Used: {used*0.000000001:.2f} GB")
9
+ # st.write(f"Free:{free*0.000000001:.2f} GB")
10
  # st.write(os.listdir("/home/user/app"))
11
 
12
  with open("/home/user/app/Dockerfile", "rt") as f:
13
+ st.write(f.read())