Spaces:
Runtime error
Runtime error
liujch1998
commited on
Commit
β’
295e94f
1
Parent(s):
90d2ad7
Print disk usage
Browse files
app.py
CHANGED
@@ -2,6 +2,10 @@ import gradio as gr
|
|
2 |
import os
|
3 |
import torch
|
4 |
import transformers
|
|
|
|
|
|
|
|
|
5 |
|
6 |
device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu')
|
7 |
|
|
|
2 |
import os
|
3 |
import torch
|
4 |
import transformers
|
5 |
+
import shutil
|
6 |
+
stat = shutil.disk_usage('.')
|
7 |
+
print('Disk usage:')
|
8 |
+
print(stat)
|
9 |
|
10 |
device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu')
|
11 |
|