liujch1998 commited on
Commit
8aa36ac
Β·
1 Parent(s): ba7a4e7
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ print('Disk usage:')
8
  print(stat)
9
  import os
10
  # execute a shell command and print its output
11
- print(os.popen('du -sh /').read())
12
  print(os.popen('du -sh ~').read())
13
 
14
  device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu')
 
8
  print(stat)
9
  import os
10
  # execute a shell command and print its output
11
+ print(os.popen('df -h').read())
12
  print(os.popen('du -sh ~').read())
13
 
14
  device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu')